Java Questions
with Answers to Crack the
technical interview
Questions
Core Java Concepts:
Q.1
What is the difference between JDK and
JRE?
Q.2
Why is Java a platform independent
language?
Q.3
What is the difference between an
abstract class and an interface?
Q.4
What is the difference between final,
finally, and finalize?
Q.5
What is the difference between stack and
heap memory?
Q.6
What is the difference between method
overloading and method overriding?
Q.7
What is the difference between an
abstract class and an interface?
Q.8 What is the difference between a private
and a protected modifier?
1
Questions
Q.9
What is constructor overloading in Java?
Q.10
What is the use of super keyword in Java?
Q.11
What is the difference between static
methods, static variables, and static
classes in Java?
Q.12
What exactly is System.out.println in Java?
Q.13 What part of memory - Stack or Heap - is
cleaned in the garbage collection process?