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 Programs

java pattern program app

Java Program to Count Total Character in a String

In this tutorial, we will see how to Count Total Characters in a String in java. The program below counts the number of letters present in the sentence (String) and displays the total character present in number. The program checks …

Read moreJava Program to Count Total Character in a String

Categories Java Programs Tags java string program

Java Program to Find the Frequency of a Character

In this tutorial, we will write a program to calculate the frequency of Characters present in a String in java. Frequency refers to the number of times that have occurred. In this program, we will count how many times each …

Read moreJava Program to Find the Frequency of a Character

Categories Java Programs Tags java string program

Java Program to Find a Frequency of Words

In this tutorial, we will see how to calculate the frequency of words present in a String in java. Frequency refers to the number of times that have occurred. In this program, we will count how many time each word …

Read moreJava Program to Find a Frequency of Words

Categories Java Programs Tags java string program

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
Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 … Page23 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