I have written a lot of java interview questions and this is index posts for all java interview questions. I will keep adding more interview questions to this post.
Table of Contents
- Core Java
- Core java interview questions
- Collections interview questions
- Multithreading interview questions
- Java 8 interview questions
- OOPs interview questions
- Exception Handling interview questions
- String interview questions
- Serialization interview questions
- method overloading and method overriding interview questions
- Immutable class interview questions
- Java tricky interview questions
- Basic interview questions for fresher
- Interview questions for 5 to 7 years experienced
- How HashMap works in java?
- Difference between Interface and abstract class? What are changes made to interface in Java 8?
- Web services
- Data structure and algorithms
- Java interview programs
This list includes top 50 core java interview questions. Whether you are fresher or experienced programmer, this interview questions will definitely help you to crack core java interview.
Collection is one of the major important parts of core java. These interview questions include questions on HashMap, Hashet, Arraylist etc. These are logical interview questions which will help you built reasoning for these questions.
Multithreading concepts are the tricky one. This java interview questions list covers threads, synchronization, inter thread communication and executor frameworks.
Java 8 has a lot of new features. If you are going to core java interview, you might be asked about lambda expressions, function interface, streams, new Date and time APIs etc.
This java interview questions list covers questions on Exception hierarchy, check, unchecked exceptions, try catch block etc.
String is one of the most used datatype in Java. These interview questions will check your knowledge on String concepts.
Serialization is one of the most important topic in core java. These interview question covers some of the tricky questions on Serialization.
Immutable class is one of the most important concepts as immutable classes are by default thread safe. This interview question list will check your knowledge on immutable classes.
This interview question list includes some tricky interview questions. These java interview questions will help you to build logic.
This java interview questions list includes basic interview questions on beginner java programmers.
This java interview questions list includes some good questions for an experienced programmer. It includes concepts from multithreading and collections .
This is most asked java interview question and it is favorite interview questions for most of the interviewer. This interview question checks your knowledge on HashMap, hashcode and equals method.
Difference between Interface and abstract class? What are changes made to interface in Java 8?
You can have default and static method in java from Java 8 onwards.
Spring framework is most widely used Java EE framework. Spring interview questions check your knowledge on spring framework. It covers topics like dependency injection, scopes, Spring AOP concepts and some important Spring annotations.
Spring boot is getting popular day by day because it helps you to bootstrap spring application faster. These spring boot interview questions check your knowledge on Spring boot.
These interview questions include restful web services,HTTP methods, and various web service annotations.
Data structure and algorithms
This post provides an introduction to important data structures in java. It will help you to understand basic data structures such as queue, stack and linked list.
These 40+ interview questions check your knowledge on Stack, queue, linked list, binary tree, binary search tree etc.
Java interview programs
If you are freshers or novice programmer, here is the list of interview programs which you can practice.
If you are experienced programmer and looking for the list of some good java interview programs, here is the list of java interview programs which you can practice.
I hope this Java interview questions list will help you to crack java interview. If you want to add more interview questions, please do comment.