Java Interview Programs


Java Interview Programs

I have been posting java interview programs on various topics such as Binary tree, LinkedList , String, Number, ArrayList, HashMap etc. So I am consolidating list of java interview programs to create an index post. I will keep adding links to this post whenever I add any new program. These are frequently asked java programs in interview. You can also go through top 50 java interview questions for interview questions.

Java interview programs


Java collections APIs provides lots of inbuilt classes and interfaces to handle collections of objects. Here is list of most asked java interview programs on Collections.


It is one of the most used data structure. In singly linked list, Node has data and pointer to next node. It does not have pointer to the previous node. Last node ‘s next points to null, so you can iterate over linked list by using this condition.

Binary tree

A binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child. Here is list of Java interview programs asked on binary tree.


There are many java tricky  interview programs that can be asked in interview.

You should practice these java interview programs on array.



String is most used data structure in java. There are lot of java interview programs on String which can be asked in interview.



That’s all about java interview programs. If you can also go through C interview programs.
Refer Core java tutorial for more such tutorials.



  1. Shyam Agrawal August 28, 2015
  2. S.K.Mahalingam April 18, 2016
    • arpitmandliya April 29, 2016
  3. akshay gupta June 13, 2016
  4. Muppalla Sireesha July 20, 2016
  5. Ram Sharan March 23, 2017
    • Arpit Mandliya March 23, 2017
  6. Ashok March 24, 2017
  7. nitin March 30, 2017
  8. Avish September 8, 2017
  9. Chandra May 24, 2018
  10. Saikiran July 26, 2018

Add Comment