Skip to content
Download Android App: Follow Us:
Simple2Code
  • Home
  • Java
    • Java Tutorial
    • Java Programs
    • Java Pattern Programs
  • C
    • C Tutorial
    • C Programs
  • C++
    • C++ Tutorial
    • C++ Programs
  • C#
    • C# Tutorial
    • C# Programs
  • Apps
  • Blog
  • About Us

Java Program to Count the Number of Words Present in a text file

In this tutorial, we will see the example of how to count the number of words present in a text file in java. First, create a text file with any name you like. In this example, inputInfo.txt is the file name. Then …

Read moreJava Program to Count the Number of Words Present in a text file

Categories Java Programs Tags java string program

Java Program to Create a Calculator Using AWT Controls

Today in this java programming we will learn a Java Program to Create a Calculator Using AWT Controls(Abstract Window Toolkit). This will be a basic calculator with a user interface. The AWT components we will be using are Textfields, Buttons, …

Read moreJava Program to Create a Calculator Using AWT Controls

Categories Java Programs Tags java awt program

Java Program to Create Login Window using AWT Controls

This article is based on the Java Program to create Login Window using AWT Controls. Here we will use the AWT components Label, Button and Textfield. We will see the code to create a user_name and password text field with …

Read moreJava Program to Create Login Window using AWT Controls

Categories Java Programs Tags java awt program

Get Subarray between Specified Indexes in Java

Before getting into the programming on subarray between specified indexes, let us first learn about the subarray. What is a subarray? For example, consider an array = [2,3,4], then the subarrays are [2], [3], [4], [2,3], [3,4], and [2,3,4]. But …

Read moreGet Subarray between Specified Indexes in Java

Categories Java Programs Tags java array program

Java Program to Check if the String is empty or not

In this tutorial, we will write a java program to check whether the string is empty or not. The strings are defined in the program and it is passed to the method as an argument. After checking for null and …

Read moreJava Program to Check if the String is empty or not

Categories Java Programs Tags java string program

Java Program for user String Input

It is a simple demonstration to show how to take a string as an input from the user. The only thing you need to be concerned about is the data type that you declare in the program that is the …

Read moreJava Program for user String Input

Categories Java Programs Tags java string program

Java Program to Count Letters in a String

In this tutorial to Count Letters in a String in java, we will see two examples to count the number of letters present in a String in Java. The first one, where the String is already defined in a program. …

Read moreJava Program to Count Letters in a String

Categories Java Programs Tags java string program

Java Program to Create a Calculator using Switch Case

The program shows how to Create a Calculator using Switch Case in java. The program uses a scanner class to take the inputs from the user. The switch case is mostly used when it is necessary to give options to …

Read moreJava Program to Create a Calculator using Switch Case

Categories Java Programs Tags java loop program

Java Program to Convert Fahrenheit to Celsius and Vice-Versa

The program shows how to convert Fahrenheit to Celsius and Vice-Versa in java using a switch statement. The program uses a scanner class to take the inputs from the user. Switch case is mostly used when it is necessary to …

Read moreJava Program to Convert Fahrenheit to Celsius and Vice-Versa

Categories Java Programs Tags java loop program

Java Program to Calculate Simple Interest, Amount and Compound Interest using a Switch

The program shows how to Calculate Simple Interest, Amount, and Compound Interest using a Switch in java. The program uses a scanner class to take the inputs from the user. The switch case is mostly used when it is necessary …

Read moreJava Program to Calculate Simple Interest, Amount and Compound Interest using a Switch

Categories Java Programs Tags java loop program
Older posts
Newer posts
← Previous Page1 … Page56 Page57 Page58 … Page76 Next →

More Topics

  • Java Program to find the sum of the Largest Forward Diagonal
    28 April 2024
  • C Program to search an element in an array using Pointers
    7 January 2024
  • C Program to find the sum of the digits of a number using recursion function
    7 January 2024
  • C program to find factorial of a numberĀ using Ternary operator with Recursion
    6 January 2024
  • C Program to Add Two Numbers Using Call by Reference
    6 January 2024
  • Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python
    1 February 2023
  • String Pattern Programs in C
    29 July 2022

Categories

  • C Programs
  • C Tutorial
  • computer fundamentals
  • CPlusPlus Programs
  • CPlusPlus Tutorial
  • CSharp Programs
  • CSharp Tutorial
  • HTML
  • Java Programs
  • Java Tutorial
  • javascript
  • Uncategorised

Simple2Code

  • About Us
  • Privacy Policy
  • Disclaimer
  • Sitemap

Search

Follow Us:
Copyright © 2025 Simple2Code