Java Programs asked in interview for freshers and 1 2 3 4 years experienced

List of Java programming interview questions : programming concepts
Java programs for practice
java practice programs for beginners with solutions pdf
List of c programs for practice : problems with solutions  
 
  1. Print prime numbers? 
  2. Java program to check valid Balanced parentheses
  3. How to Convert string to StringBuilder and vise-versa in Java
  4. Convert to maven project in eclipse java  
  5. How to Delete folder and subfolders using Java 8
  6. How to Convert integer set to int array using Java 8
  7. Initializing a boolean array in java with an example program
  8. How to convert list to set in java with example program
  9. Log4j example in java using properties file
  10. Implement java 8 functional interface using lambda example program
  11. Java 8 date add n seconds to current date example program
  12. How to remove html tags from string java
  13. Java 8 stream filter method example program
  14. Java 8 foreach example program
  15. Instance variables in java with example program
  16. How to read values from properties file in java example  
  17. Java read file line by line example program  
  18. Java Program to save string to text file using PrintWriter 
  19. Will Finally block execute if we place after return statement in java
  20. How to Subtract Hours from java date time 
  21. How to subtract minutes from current time in java  
  22. Print semicolon without using semicolon in java 
  23. Remove whitespace from string javascript  
  24. Java xor operator with example programs 
  25. Benefits of arraylist in java over arrays 
  26. Format text using printf() method in java   
  27. How to Sort list of objects by multiple fields in java  
  28. Java example program to round double to 2 decimal places  
  29. Java program to Convert arraylist to array 
  30. Finalize() method in java with example program 
  31. 5 Different ways to print arrays in java  
  32. Hibernate Criteria Query Language (HCQL)  
  33. How to format text using printf() method in java
  34. Final method in java with example program
  35. Java mutliple choice questions with answers on constructors  
  36. What are the advantages and disadvantages of Hibernate over JDBC 

  37. How to generate unique random numbers in java  
  38. Java mcq with answers on this keyword  
  39. Quicksort algorithm in java with example program 
  40. Implementation of selection sort algorithm in java with Example program  
  41. Tower of hanoi recursive solution using Java  
  42. Creating array of objects in java example program 
  43. Finding Factorial of a Number in Java  
  44. Print Pascals triangle in java program  
  45. Deep copy   vs  Shallow copy
  46. 8 different ways to convert int to String in java 
  47. Find top two maximum numbers in a array java  
  48. Exception handling in method overriding  
  49. How to run jsp program in eclipse using tomcat 
  50. Java interface programming questions  
  51. Java program to remove vowels from string java  
  52. Java programming interview questions and answers for experienced  
  53. Java Program to reverse vowels in a string
  54. Super keyword java programs for interview for freshers and experienced  
  55. Java programming interview questions on this keyword part 1 
  56. Super keyword in  java inheritance
  57. Java programming interview questions on this keyword part 2
  58. Java programs on this keyword part 3 
  59. Servlets interview questions
  60. Find shortest palindrome string
  61. Validate email using javascript
  62. Java XML parsing using  DOM Parser 
  63. Dynamic polymorphism in Java 
  64. Find missing numbers in an array
  65. Collection vs Collections
  66. Custom iterator in java 
  67. Unreachable Blocks in java
  68. Enum in java  
  69. toString() method in java with example program
  70. Explain Hibernate Configuration file
  71. What happens if we place return statement in try catch blocks 
  72. Write a java program to convert binary to decimal 
  73. Java interview questions on exception handling 
  74. Java Program to convert Decimal to Binary
  75. Java program to restrict a class from creating not more than three objects
  76. Java basic interview programs on this keyword 
  77. Interfaces allows constructors? 
  78. Can we create static constructor in java 
  79. Super keyword interview questions java 
  80. Java interview questions on final keyword
  81. Can we create private constructor in java
  82. Java Program Find Second highest number in an integer array 
  83. Java interview programming questions on interfaces 
  84. Top 15 abstract class interview questions  
  85. Java interview Questions on main() method  
  86. Top 20 collection framework interview Questions
  87. Java Interview Program to find smallest and second smallest number in an array 
  88. Java Coding Interview programming Questions : Java Test on HashMap  
  89. Explain java data types with example programs 
  90. Constructor chaining in java with example programs 
  91. Swap two numbers without using third variable in java 
  92. Find sum of digits in java 
  93. How to create immutable class in java 
  94. AtomicInteger in java 
  95. Check Even or Odd without using modulus and division  
  96. String Reverse Without using String API 
  97. Find Biggest substring in between specified character
  98. Check string is palindrome or not?
  99. Reverse a number in java?
  100. Fibonacci series with Recursive?
  101. Fibonacci series without using Recursive?
  102. Sort the String using string API?
  103. Sort the String without using String API?
  104. what is the difference between method overloading and method overriding?
  105. How to find largest element in an array with index and value ?
  106. Sort integer array using bubble sort in java?
  107. Object Cloning in java example?
  108. Method Overriding in java?
  109. Program for create Singleton class?
  110. Print numbers in pyramid shape?
  111. Check armstrong number or not?
  112. Producer Consumer Problem?
  113. Remove duplicate elements from an array
  114. Convert Byte Array to String
  115. Print 1 to 10 without using loops
  116. Add 2 Matrices
  117. Multiply 2 Matrices
  118. How to Add elements to hash map and Display
  119. Sort ArrayList in descending order
  120. Sort Object Using Comparator
  121. Count Number of Occurrences of character in a String
  122. Can we Overload static methods in java
  123. Can we Override static methods in java 
  124. Can we call super class static methods from sub class 
  125. Explain return type in java 
  126. Can we call Sub class methods using super class object? 
  127. Can we Override private methods ? 
  128. Basic Programming Questions to Practice : Test your Skill
  129. Java programming interview questions on collections




Read Also:

Java programming exercises for beginners

1. Top 15 Garbage Collection Interview Questions

2. Top 10 Oops Concepts Interview Questions 

3. Top 15 Java Interview Questions on Constructors

4. Top 10 Inheritance Interview Questions

5. Interview Programs on Strings

6. 10 Interesting Core Java Interview Coding Questions and Answers

7. Top 20 Basic Java Interview Questions for Frehsers 

8. Top 10 interview Question on Static keyword. 

9.Top 20 Java interview Questions on Increment and Decrement operators

10.Top 10 Interview Questions on main() method

11. Top 12 Java Experienced interview Programming Questions on Strings

12.Pattern Programs in java Part-1

13.Pattern Programs in java Part-2

14.Pattern Programs in java Part-3 



Entry level java interview questions

Select Menu