Home >>Java Programs

Java Programs

Java Basic to Advance Programs

In this tutorial You will get different programs related to Java. Java Basic Programs, Java array Programs, Java pattern Programs, etc.


Java Programs Index

Sr.No. Topics
1 Check Palindrome Number in Java
2 Factorial Program using loop in java
3 Factorial Program using recursion in java
4 Fibonacci Series Program in Java using recursion
5 Fibonacci series without using recursion in Java
6 Find an Armstrong Number in Java
7 Prime Number Program in Java
8 Find Prime numbers between two numbers in Java
9 Break statement in Java
10 for each loop in Java
11 Typecasting in Java
12 Printing the format text with printf in Java
13 How to generate random numbers within a range in Java
14 Java Program to count all punctuation characters in the string
15 Java program to print the following given pattern
16 Java program to print the following given pattern
17 Java program to print the following given pattern
18 Java program to print the following pattern
19 Java program to print the following pattern
20 Java program to print the given pattern
21 Java program to print the given pattern
22 Java program to print the given pattern
23 Java program to print the following pattern
24 Java program to print the following pattern
25 Java Program to Print the following Pattern
26 Java program to print the following pattern
27 Java Program to Print the following Pattern
28 Java Program to print the smallest element in an array
29 Java Program to Print the following pattern
30 Java Program to Print the following pattern
31 Java Program to Print the following Pattern
32 Java Program to Copy One Array to Another in Java
33 Java Program to find the frequency of each element in a array
34 Java Program to left rotate the elements of an array
35 Java Program to print the duplicate elements of an array
36 Java Program to print the elements of an array
37 Java Program for binary search
38 Java Program for linear search
39 Java Program for bubble sort
40 Java Program for insertion sort
41 Java Program for selection sort
42 Java Program to print the elements of an array present on even position
43 Java Program to print the elements of an array in reverse order
44 Java Program to find Third Largest Number in an Array
45 Java Program to print the largest element in an array
46 Print the number of elements in an array java
47 Java Program to print the sum of all the items of the array
48 Java Program to right rotate the elements of an array
49 Java Program to sort the elements of an array in ascending order
50 Java Program to sort the elements of an array in descending order
51 Java Program to print the elements of an array present on odd position
52 Java Program to Check if it is a Sparse Matrix
53 Java Program to check a given matrix is an identity matrix
54 Java Program to determine whether two matrices are equal
55 Java Program to display the lower triangular matrix
56 Upper Triangular Matrix Program in Java
57 Java Program to find the frequency of odd & even numbers in the given matrix
58 Java Program to find the product of two matrices
59 Java Program to find the sum of each row and each column of a matrix
60 Java Program to find the transpose of a given matrix
61 Java Program to subtract the two matrices
62 Java Program to count the total number of characters in a string
63 Java Program to count the total number of vowels and consonants in a string
64 Check for string rotation in Java
65 Java Program to find all subsets of a string
66 Java Program to find all the permutations of a string
67 Java Program to find maximum and minimum occurring character in a string.
68 Java Program to find Reverse of the string.
69 Java program to find the duplicate characters in a string
70 Java Program to find the largest and smallest word in a string
71 Java Program to swap two string variables without using third or temp variable.
72 Java Program to determine whether a given string is palindrome
73 Java Program to determine whether two strings are the anagram
74 Java Program to divide a string in 'N' equal parts
75 Java Program to find the longest repeating sequence in a string
76 Java Program to remove all the white spaces from a string
77 Java Program to replace lowercase characters by uppercase and vice-versa
78 Java Program to replace the spaces of a string with a specific character
79 Java program to find the duplicate words in a string
80 Java Program to find the frequency of characters
81 Java Program to find the most repeated word in a text file
82 Java Program to find the number of the words in the given text file
83 Java Program to separate the Individual Characters from a String
84 Singly linked list Examples in Java
85 Java Program to delete a node from the middle of the singly linked list
86 Java program to delete a node from the beginning of the singly linked list
87 Java program to create a singly linked list of n nodes and display it in reverse order
88 Java program to create a singly linked list of n nodes and count the number of nodes
89 Count nodes in Circular linked list in java
90 Java program to create a Circular Linked List of n nodes and display it in reverse order
91 Java Program to create and display a Circular Linked List
92 Java Program to delete a node from the end of the singly linked list
93 Java Program to determine whether a singly linked list is the palindrome
94 Java Program to find the maximum and minimum value node from a linked list
95 Inserting a new Node at the beginning of a LinkeList in Java
96 Inserting a new Node at the end of a LinkeList in Java
97 Inserting a new Node at the middle of a LinkeList in Java
98 Java Program to remove duplicate elements from a singly linked list
99 Java Program to search an element in a singly linked list

Java Programs Check Palindrome Number in Java Factorial Program using loop in java Factorial Program using recursion in java Fibonacci Series Program in Java using recursion Fibonacci series without using recursion in Java Find an Armstrong Number in Java Prime Number Program in Java Find Prime numbers between two numbers in Java Break statement in Java for each loop in Java Typecasting in Java Printing the format text with printf in Java How to generate random numbers within a range in Java Java Program to count all punctuation characters in the string Java program to print the following given pattern Java program to print the following given pattern Java program to print the following given pattern Java program to print the following pattern Java program to print the following pattern Java program to print the given pattern Java program to print the given pattern Java program to print the given pattern Java program to print the following pattern Java program to print the following pattern Java Program to Print the following Pattern Java program to print the following pattern Java Program to Print the following Pattern Java Program to print the smallest element in an array Java Program to Print the following pattern Java Program to Print the following pattern Java Program to Print the following Pattern Java Program to Copy One Array to Another in Java Java Program to find the frequency of each element in a array Java Program to left rotate the elements of an array Java Program to print the duplicate elements of an array Java Program to print the elements of an array Java Program for binary search Java Program for linear search Java Program for bubble sort Java Program for insertion sort Java Program for selection sort Java Program to print the elements of an array present on even position Java Program to print the elements of an array in reverse order Java Program to find Third Largest Number in an Array Java Program to print the largest element in an array Print the number of elements in an array java Java Program to print the sum of all the items of the array Java Program to right rotate the elements of an array Java Program to sort the elements of an array in ascending order Java Program to sort the elements of an array in descending order Java Program to print the elements of an array present on odd position Java Program to Check if it is a Sparse Matrix Java Program to check a given matrix is an identity matrix Java Program to determine whether two matrices are equal Java Program to display the lower triangular matrix Java Program to find the product of two matrices