Java Interview Programs

Java programming interview questions

  1. Print prime numbers? 
  2. Validate email using javascript
  3. Java XML parsing using  DOM Parser 
  4. Dynamic polymorphism in Java 
  5. Find missing numbers in an array
  6. Collection vs Collections
  7. Custom iterator in java 
  8. Unreachable Blocks in java
  9. Get table cell data using JavaScript
  10. Enum in java  
  11. 3 different ways to print exception message in java
  12. Can we have try without catch block in java 
  13. toString() method in java with example program
  14. Remove duplicates from arraylist without using collections
  15. Explain Hibernate Configuration file
  16. What happens if we place return statement in try catch blocks 
  17. Write a java program to convert binary to decimal 
  18. Java interview questions on exception handling 
  19. Java Program to convert Decimal to Binary
  20. Is it possible to print message without using System.out.println()
  21. Java program to restrict a class from creating not more than three objects
  22. Java basic interview programs on this keyword 
  23. Java Program to Sort elements of Java ArrayList Example
  24. Interfaces allows constructors? 
  25. Can we create static constructor in java 
  26. Super keyword interview questions java 
  27. Java interview questions on final keyword
  28. Can we create private constructor in java
  29. Java Program Find Second highest number in an integer array 
  30. Java interview programming questions on interfaces 
  31. Top 15 abstract class interview questions  
  32. Java interview Questions on main() method  
  33. Sort employee object by id in descending order using comparable and TreesSet
  34. Top 20 collection framework interview Questions
  35. Java Interview Program to find smallest and second smallest number in an array 
  36. Java Coding Interview programming Questions : Java Test on HashMap  
  37. Explain java data types with example programs 
  38. How to check internet connection using java
  39. Constructor chaining in java with example programs 
  40. Top 10 Interview Programs and questions on method overriding in java
  41. Swap two numbers without using third variable in java 
  42. Find sum of digits in java 
  43. How to create immutable class in java 
  44. AtomicInteger in java 
  45. Check Even or Odd without using modulus and division  
  46. String Reverse Without using String API 
  47. Find Biggest substring in between specified character
  48. Check string is palindrome or not?
  49. Reverse a number in java?
  50. Fibonacci series with Recursive?
  51. Fibonacci series without using Recursive?
  52. Sort the String using string API?
  53. Sort the String without using String API?
  54. what is the difference between method overloading and method overriding?
  55. How to find largest element in an array with index and value ?
  56. Sort integer array using bubble sort in java?
  57. Object Cloning in java example?
  58. Method Overriding in java?
  59. Program for create Singleton class?
  60. Print numbers in pyramid shape?
  61. Check armstrong number or not?
  62. Producer Consumer Problem?
  63. Remove duplicate elements from an array
  64. Convert Byte Array to String
  65. Print 1 to 10 without using loops
  66. Add 2 Matrices
  67. Multiply 2 Matrices
  68. How to Add elements to hash map and Display
  69. Sort ArrayList in descending order
  70. Sort Object Using Comparator
  71. Count Number of Occurrences of character in a String
  72. Can we Overload static methods in java
  73. Can we Override static methods in java 
  74. Can we call super class static methods from sub class 
  75. Explain return type in java 
  76. Can we call Sub class methods using super class object? 
  77. Can we Override private methods ? 
  78. Basic Programming Questions to Practice : Test your Skill
  79. Java programming interview questions on collections