Java Interview Questions For Freshers PDF
Java Interview Questions For Freshers PDF
These questions cover foundational concepts and are commonly asked in entry-level job
interviews.
What is a Constructor?
A constructor is a special method used to initialize objects. It has the same name as the class.
What is Polymorphism?
Polymorphism allows objects to take many forms. It can be:
● Compile-time (method overloading)
● Runtime (method overriding)
What is Abstraction?
Abstraction hides internal details and shows only functionality. Achieved using abstract classes
and interfaces.
What is Encapsulation?
Encapsulation wraps data and methods in a single unit (class) and restricts access using
access modifiers.
What is an interface?
An interface defines a contract with abstract methods. Implemented using the implements
keyword.
What is Multithreading?
Allows concurrent execution of two or more threads to maximize CPU usage.
What is Synchronization?
Used to control thread access to shared resources to prevent data inconsistency.
What is Serialization?
Serialization converts an object into a byte stream for storage or transmission.
What is Deserialization?
It converts a byte stream back to the object.
What is a ConcurrentHashMap?
A thread-safe version of HashMap for concurrent access.