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

Java Interview Questions 5-6 LPA

The document provides a list of Java interview questions categorized into topics such as Core Java Basics, OOP Concepts, Collections Framework, Exception Handling, Strings & Memory, Multithreading, and Miscellaneous. It emphasizes the importance of preparing concise answers with examples, specifically targeting candidates aiming for 5–6 LPA positions. The questions cover fundamental Java concepts and practices that are commonly asked in interviews.

Uploaded by

tobi104824
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 views2 pages

Java Interview Questions 5-6 LPA

The document provides a list of Java interview questions categorized into topics such as Core Java Basics, OOP Concepts, Collections Framework, Exception Handling, Strings & Memory, Multithreading, and Miscellaneous. It emphasizes the importance of preparing concise answers with examples, specifically targeting candidates aiming for 5–6 LPA positions. The questions cover fundamental Java concepts and practices that are commonly asked in interviews.

Uploaded by

tobi104824
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

Java Interview Questions for 5–6 LPA (With Short

Answers)

Core Java Basics


• What is JVM, JRE, and JDK?
• Why Java is platform independent?
• What are access modifiers?
• Difference between == and equals()
• What is pass-by value in Java?

OOP Concepts
• What is encapsulation?
• Difference between abstraction and encapsulation
• What is inheritance?
• What is polymorphism?
• Can we achieve multiple inheritance in Java?

Collections Framework
• Difference between ArrayList and LinkedList
• Difference between HashMap and HashSet
• How does HashMap work internally?
• Difference between HashMap and Hashtable
• What is ConcurrentHashMap?

Exception Handling
• Difference between checked and unchecked exceptions
• What is try-catch-finally?
• Difference between throw and throws
• Can we have multiple catch blocks?

Strings & Memory


• Why String is immutable?
• Difference between String, StringBuilder, and StringBuffer
• What is string pool?
• What is garbage collection?

Multithreading (Basic)
• What is a thread?
• Difference between process and thread
• What is synchronization?
• Difference between sleep() and wait()?
Miscellaneous
• What is static keyword?
• What is final keyword?
• Difference between abstract class and interface
• What are annotations?

How to prepare:
• Prepare short and clear answers (2–4 lines)
• Be ready with examples
• These questions are frequently asked in 5–6 LPA interviews

You might also like