Java Programs for Beginner to Advanced

learn Java Programming
Java Programming Exercises With Solutions
  1. Java Baics Top Questions

  2. Java Program to check if a vowel is present in the string
  3. Java program to check if the given number is Prime
  4. Fibonacci Series using recursion
  5. Check if a List of integers contains only odd numbers
  6. WAP to count number of digits in a number
  7. Program in to print 1 to 100 without using loop
  8. Write a Program to showcase inheritance
  9. Write a Program to Show Diamond Problem with Multiple Inheritance
  10. Write a Program to show try catch example
  11. Java Program to Find GCD of Two Numbers
  12. Java Program to Display Alternate Prime Numbers
  13. Armstrong Number in Java
  14. Java Program to Swap Two Numbers Using Bitwise Operator
  15. Java Program to Display Even Numbers From 1 to 100
  16. Java Program to Display Odd Numbers From 1 to 100
  17. Reverse a number
  18. The first non-repeated character of String
  19. Finding Middle element of linked list in one pass
  20. Wap to Pre-order traversal
  21. Pre-order traversal without recursion
  22. Print all leaves of a binary tree
  23. Check if a linked list has a loop
  24. Convert a linked list to a binary tree
  25. Write a Java Program to reverse a string without using String inbuilt function reverse
  26. Write a Java Program to swap two numbers using the third variable
  27. Write a Java Program to count the number of words in a string using HashMap
  28. Write a Java Program to iterate HashMap using While and advance for loop
  29. Write a Java Program to find whether a number is prime or not
  30. Write a Java Program to find whether a string or number is palindrome or not
  31. Write a Java Program to iterate ArrayList using for-loop, while-loop, and advance for-loop
  32. Write a Java Program to demonstrate an explicit wait condition check
  33. Write a Java Program to demonstrate Scroll up/ Scroll down
  34. Write a Java Program to open all links of gmail.com
  35. Write a Selenium code to switch to the previous tab
  36. Write a Java Program to find the second-highest number in an array
  37. Write a Java Program to remove all white spaces from a string without using replace
  1. Java String Programs

  2. Java Program to count the total number of characters in a string
  3. Java Program to count the total number of vowels and consonants in a string
  4. Java Program to divide a string in ‘N’ equal parts
  5. Java Program to find the longest repeating sequence in a string
  6. Java Program to find Reverse of the string
  7. Java Program to find the frequency of characters
  8. Java Program to find all the permutations of a string
  9. Java Program to remove all the white spaces from a string
  10. Java Program to find maximum and minimum occurring character in a string
  11. Java program to find the duplicate characters in a string
  12. Java program to find the duplicate characters in a string
  13. Java Program to swap two string variables without using third or temp variable
  14. Java Program to separate the Individual Characters from a String
  15. reserve a string in Java without using reverse function
  16. Write a Java Program to find the duplicate characters in a string
  1. Java Number Programs

  2. WAP to Spy Number in Java
  3. Wap to ATM program in java
  4. Wap to Neon Number in java
  5. Java Program to find GCD of two numbers
  6. Java Program to Find Square Root of a Number Without sqrt Method
  7. Java Program to Find Sum of natural Number
  8. Tech number in java
  9. Buzz number program in java
  10. Emirp number in java
  11. Sphenic number in java
  12. Autographical number in java
  13. Wap to Keith number in java
  14. Fascinating number in java
  15. Peterson number in java
  16. Neon number in java
  1. Java Conversion Programs

  2. Java Convert String to int
  3. Java convert string to long
  4. Java convert int to long
  5. Java convert object to string
  6. Java convert string to double
  7. Java convert Date to String
  8. Java convert string to object
  9. Java convert string to float
  10. Java convert long to string
  11. Java convert boolean to string
  12. Java convert binary to decimal
  13. Java convert hex to decimal
  14. Java convert octal to decimal
  15. Java convert decimal to octal
  16. Java convert char to int
  1. Java Singly Linked List Programs

  2. Java Program to create and display a singly linked list
  3. Java program to create a singly linked list of n nodes and count the number of nodes
  4. Java program to create a singly linked list of n nodes and display it in reverse order
  5. Java program to delete a node from the beginning of the singly linked list
  6. Java program to determine whether a singly linked list is the palindrome
  7. Java program to find the maximum and minimum value node from a linked list
  8. Java Program to insert a new node at the middle of the singly linked list
  9. Java Program to insert a new node at the middle of the singly linked list
  10. Java program to remove duplicate elements from a singly linked list
  11. Java Program to search an element in a singly linked list
  1. Java Circular Linked List Programs

  2. Java Program to create and display a Circular linked list
  3. Java program to create a Circular linked list of n nodes and count the number of nodes
  4. Java program to create a singly linked list of n nodes and display it in reverse order
  5. Java program to delete a node from the beginning of the circular linked list
  6. Java program to determine whether a circular linked list is the palindrome
  7. Java program to find the maximum and minimum value node from a circular list
  8. Java Program to insert a new node at the middle of the circular linked list
  9. Java program to remove duplicate elements from a circular linked list
  10. Java Program to search an element in a circular linked list
  1. Java Tree Programs

  2. Java Program to calculate the Difference between the Sum of the Odd Level and the Even Level Nodes of a Binary Tree
  3. Java program to construct a Binary Search Tree and perform deletion and In-order traversal
  4. Java program to determine whether all leaves are at same level
  5. Java program to find maximum width of a binary tree
  6. Java program to find the smallest element in a tree
  7. Java program to find the sum of all the nodes of a binary tree
  8. Java program to find the maximum depth or height of a tree
  9. Java program to find the nodes which are at the maximum distance in a Binary Tree
  10. Java program to determine whether two trees are identical
  11. Java program to find the total number of possible Binary Search Trees with N keys
  12. Java program to search a node in a Binary Tree
  13. Java program to implement Binary Tree using the Linked list
  14. Java program to find the largest element in a Binary Tree
  1. Java Doubly Linked List Programs

  2. Java program to convert a given binary tree to doubly linked list
  3. Java program to create a doubly linked list from a ternary tree
  4. Java program to create a doubly linked list of n nodes and count the number of nodes
  5. Java program to create a doubly linked list of n nodes and display it in reverse order
  6. Java program to delete a new node from the beginning of the doubly linked list
  7. Java program to delete a new node from the end of the doubly linked list
  8. Java program to find the maximum and minimum value node from a doubly linked list
  9. Java program to insert a new node at the end of the Doubly Linked List
  10. Java program to insert a new node at the middle of the Doubly Linked List
  11. Java program to rotate doubly linked list by N nodes

Disclaimer: The above  Java  programs are generated by Different sources but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes. Authority if any of the queries regarding this post or website fill the following contact form thank you.

Scroll to Top