Difference between string buffer and string builder. What is a functional interface?. Explain abstraction and abstract classes. Difference between final,finally and finalize?. Explain the states of thread?. What is the difference between sleep and wait. Two threads are running in parallel ,thread A and thread B.if thread A give exception can this exception be caught by thread B .Is it possible an exception thrown by thread A can be caught by B? Do threads work synchronously or asynchronous? Can we do multithreading as synchronous. Why is multiple inheritance not supported by java?. If you support how. Explain stream API in java 8 with an example. Explain internal working of hashmap. What are the recent changes brought in hashmap in java 8. Explain one-to-many annotation. Can you tell me the limitation of one-to-many mapping. Explain lazy loading vs eager loading. Explain one-to-one annotation mapping with examples. Tell me 15 annotations of spring boot applications. What is the use of @transactional keyword. Difference between primary key and unique key. Name 10 linux commands. What is @entity, @id and @generatedvalue. Explain throw and throws