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:
- What is a class? What is an object?
- What OOP concepts are implemented in Java? etc..
- I have an array with duplicate elements? Suggest an algo to get non-duplicate values from that array?
- What are pre-defined data-structures available in Java?
- How you implement linked list?
- What is overloading? Explain with real world example?
- What is overriding? Explain with real world example?
- What is inheritance? Why you need it? State an example.
- What is interface? Why you need it and how you use in Java?