Sep 11, 2016

Java Interview Questions - Basics

Java Interview Questions

You will find lot of basic interview questions in google. I am presenting the questions which I gathered over a period of time.

Some theory questions:
  1. What is a class? What is an object?
  2. What OOP concepts are implemented in Java? etc..
  3. I have an array with duplicate elements? Suggest an algo to get non-duplicate values from that array?
  4. What are pre-defined data-structures available in Java?
  5. How you implement linked list?
  6. What is overloading? Explain with real world example?
  7. What is overriding? Explain with real world example?
  8. What is inheritance? Why you need it? State an example.
  9. What is interface? Why you need it and how you use in Java?