Core Java interview questions

by Sridhar Jammalamadaka on April 11, 2010


  1. Can you explain the OOPS concepts – Encapsulation, Abstraction, Inheritance and Polymorphism?
  2. How can you achieve Polymorphism using Java?
  3. What are access modifiers?
  4. What does the access modifier ‘protected’ signify?
  5. What is the difference between an abstract class and an interface?
  6. Can you describe a business scenario where you will have to choose between an abstract class and an interface?
  7. What are Collections in Java?
  8. Can you name few Collection classes in Java?
  9. What is the difference between an ArrayList and a Vector?
  10. What is the difference between HashMap and a HashTable?
  11. What is the use of Properties class in Java?
  12. Explain how to use Java class StringTokenizer
  13. What is the difference between .equals and == operator?
  14. Can we declare a try block with a finally block and without a catch?
  15. How does the order of exceptions in catch block matter?
  16. How to write a user defined Exception?
  17. What is the difference between an Error and an Exception?

These questions were compiled by Rakesh Kumar Vashisht


About the Author:  Sridhar Jammalamadaka is the Editor of Interview Mantra. He's a typically non-typical Software Engineer from Pune, India. He likes entrepreneurship, web technologies and Micro Controller programming. He enjoys playing cricket and piano (but rarely does these activities). Through this website, he wishes to gather a large community of aspiring engineers, entrepreneurs and professionals from all parts of the globe. You can connect with him on Facebook - http://www.facebook.com/sridhar.j


2,274 readers have already subscribed to email updates!

Enter your email address:

Previous post:

Next post: