18 Java Interview Questions and Answers 19 Java Interview Questions and Answers 20 Java Interview Questions and Answers 21 Java Interview Questions and Answers 22 Java Interview Questions and Answers 23 Java Interview Questions and Answers 24 Java Interview Questions and Answers 25 Java Interview Questions and Answers 26 Java Interview Questions and Answers 27 Java Interview Questions And Answers 27 Java Interview Questions and Answers Part 2 28 Java Interview Questions and Answers 29 Java Interview Questions and Answers 30 Java Interview Questions and Answers 31 Java Interview Questions and Answers 32 Java Interview Questions and Answers 33 Java Interview Questions and Answers Write about Java Collections Framework and List out some benefits of Collections framework Benefit of Generics in Collections Framework Basic interfaces of Java Collections Framework Cloneable and Serializable interfaces Reason Behind Map interface doesn’t extend Collection interface Know About Iterator Differentiate between Enumeration and Iterator interface Reason on not method like Iterator.add() to add elements to the collection Know Iterator don’t have a method to get next element directly Differentiate between Iterator and ListIterator Know About iterator fail-fast property Differentiate between fail-fast and fail-safe What is Thread in Java? Difference between Thread and Process in Java? How do you implement Thread in Java? When to use Runnable vs Thread in Java? Difference between start() and run() method of Thread class? Difference between Runnable and Callable in Java? Difference between CyclicBarrier and CountDownLatch in Java? What is Java Memory model? What is volatile variable in Java? What is thread-safety? is Vector a thread-safe class? What is race condition in Java? Given one example? How to stop thread in Java? What happens when an Exception occurs in a thread? How do you share data between two thread in Java? Difference between notify and notifyAll in Java? Why wait, notify and notifyAll are not inside thread class? What is ThreadLocal variable in Java? What is FutureTask in Java? Difference between interrupted and isInterrupted method in Java? Why wait and notify method are called from synchronized block? Why you should check condition for waiting in a loop? Difference between synchronized and concurrent collection in Java Difference between Stack and Heap in Java What is thread pool? Why should you thread pool in Java? Write code to solve Producer Consumer problem in Java How do you avoid deadlock in Java? Write Code Difference between livelock and deadlock in Java How do you check if a Thread holds a lock or not How do you take thread dump in Java? Difference between synchronized and ReentrantLock in Java? There are three threads T1, T2 and T3? How do you ensure sequence T1, T2, T3 in Java? What does yield method of Thread class do?What does yield method of Thread class do? What is concurrence level of ConcurrentHashMap in Java? What is Semaphore in Java? What happens if you submit task, when queue of thread pool is already fill? Difference between submit() and execute() method thread pool in Java? What is blocking method in Java? Is Swing thread-safe? What do you mean by Swing thread-safe? Difference between invokeAndWait and invokeLater in Java? Which method of Swing API are thread-safe in Java? How to create Immutable object in Java? What is ReadWriteLock in Java? What is busy spin in multi-threading? Difference between volatile and atomic variable in Java? What happens if a thread throws an Exception inside synchronized block? What is double checked locking of Singleton? How to create thread-safe Singleton in Java? List down 3 multi-threading best practice you follow? How do you force start a Thread in Java? What is fork join framework in Java? What is difference between calling wait() and sleep() method in Java multi-threading? 27 Java Interview Questions And Answers 200 Important Java Interview Questions and Answers
No Comment to " Java Interview Questions "