0% found this document useful (0 votes)
2 views7 pages

60 Java Interview Questions

Uploaded by

ghofranou10
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views7 pages

60 Java Interview Questions

Uploaded by

ghofranou10
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

60 Java Interview

Questions
Every Developer Should Know

Tech | Career | Resources


@akanksha_buchke

Save this
Core Java (1–15):
What is Java and its main features?
Difference between JDK, JRE, and JVM?
What is platform independence in Java?
What are primitive vs non-primitive data
types?
What is type casting in Java?
Difference between == and equals()?
What is String immutability and why is it
important?
Difference between String, StringBuilder, and
StringBuffer?
What is method overloading?
What is method overriding?
What are access modifiers in Java?
What is the static keyword?
What is final keyword (variable, method,
class)?
What is exception handling in Java?
Difference between checked and unchecked
exceptions?

01
OOP + Design (16–25):
What are the 4 pillars of OOP?
What is encapsulation with example?
What is inheritance and its types?
What is polymorphism?
What is abstraction?
Difference between abstract class and
interface?
What is multiple inheritance and how Java
handles it?
What are constructors and types?
What is composition vs inheritance?
What are SOLID principles?

Follow and comment “JAVA” to


get the PDF

02
Collections (26–38):
What is the Java Collections Framework?
Difference between List, Set, and Map?
Difference between ArrayList and LinkedList?
Difference between HashSet and TreeSet?
Difference between HashMap and TreeMap?
How does HashMap work internally?
What is hashing and hashCode()?
What is collision in HashMap?
What is Comparable vs Comparator?
What is Iterator and ListIterator?
What is ConcurrentHashMap?
Difference between fail-fast and fail-safe
iterators?
When would you use a Set instead of a List?

03
JVM + Performance (39–56):
What is JVM architecture?
What are class loaders in Java?
What is heap and stack memory?
What is garbage collection?
Types of garbage collectors in Java?
What is memory leak in Java?
What is JIT compiler?
What is runtime vs compile time?
What is thread in Java?
What is multithreading?
Difference between process and thread?
What is synchronization?
What is deadlock?
What is volatile keyword?
What is thread pool?
What is ExecutorService?
What is context switching?
How to optimize Java performance?

04
10 Java Concepts to Master First:
OOP Principles
String Immutability
Collections Framework
HashMap Internal Working
Exception Handling
Multithreading Basics
JVM Memory & Garbage Collection
Method Overloading vs Overriding
Interface vs Abstract Class
Comparable vs Comparator

05
Follow and comment “JAVA”
to get the PDF.

AKANKSHA BUCHKE
SENIOR SOFTWARE ENGINEER

You might also like