In this article, we will discuss the frequently asked Core Java interview questions.
As probably you know that Core Java is base for any other Java-related technologies and frameworks. Every interviewer look for a candidate who has strong Core Java skillset.
In this article, I would like to share my experience with interviews from a small organization to MNC companies.
Check out my top articles related to Core Java interview preparation:
As probably you know that Core Java is base for any other Java-related technologies and frameworks. Every interviewer look for a candidate who has strong Core Java skillset.
In this article, I would like to share my experience with interviews from a small organization to MNC companies.
Check out my top articles related to Core Java interview preparation:
- Top 10 Java main() Method Questions
- 25+ OOPS Interview Questions
- 25+ Java 8 Interview Questions
- 25+ Java String Interview Questions
- 25+ Java Exception Handling Questions
Here I will list out frequently asked Core Java interview questions that have been asked for me as well as my friends.
- How HashMap works internally? [Solution]
- What is the difference between Comparable and Comparator interface? [Solution]
- What are oops principles? [Solution]
- What are SOLID Principles?[Solution]
- How to make the class as immutable?[Solution]
- What is Serialization?[Solution]
- What is Synchronization?[Solution]
- What is fail-safe vs fail-fast Iterator in Java?[Solution]
- What are Java 8 Features?[Solution]
- What is the use of Lambda Expression?[Solution]
- What is the use of Stream?[Solution]
- What is the difference between Interface and Abstract class?[Solution]
- What is a.hashCode() used for? How is it related to a.equals(b)?[Solution]
- Why you need to override hashcode when you override equals in Java?[Solution]
- What is the contract between equals and hashcode method?[Solution]
- Difference between ArrayList and LinkedList in Java?[Solution]
- What is the difference between Hashtable and HashMap?[Solution]
- Can two equal object have the different hash code?[Solution]
- What is the use of Serialize ID?[Solution]
- What is the difference between String, StringBuilder, and StringBuffer?[Solution]
- How to make a checked exception?[Solution]
- How to make an unchecked exception?[Solution]
- How to create custom exceptions?[Solution]
- What is ConcurrentHashMap?[Solution]
- What is the difference between Hashtable and ConcurrentHashMap?[Solution]
- Can we override a static method? if no then why?[Solution]
- What is fail fast and fail-safe in java?[Solution]
- Why String is immutable in java?[Solution]
- Why multiple inheritances are not supported in Java?[Solution]
- How to detect deadlock and fix it?[Solution]
- What is singleton and write code for singleton pattern?[Solution]
- Difference between noclassdeffounderror and classnotfoundexception?[Solution]
- Explain race condition in Java hashmap?[Solution]
- Can we call a static method with a null object?[Solution]
- How does volatile variable works in Java?[Solution]
- What is a thread local variable in Java?[Solution]
- Write code for thread-safe Singleton in Java?[Solution]
- The difference between sleep and wait in Java?[Solution]
- What is an immutable object? How do you create an Immutable object in Java?[Solution]
- Please share your interview questions at the comment section so that it will help others to prepare for an interview.
Comments
Post a Comment
Leave Comment