10 likes | 79 Views
You will mostly see these questions on telephonic round of your interview, but it is also asked a lot of time during face to face interviews.
E N D
Which are the frequently asked interview questions for Java Engineers? Here is my list of some of the most common questions from Java interviews. You will mostly see these questions on telephonic round of your interview, but it is also asked a lot of time during face to face interviews. It's not limited to any particular company as well, in fact all major IT companies in India e.g. TCS, CTS, Infosys, Tech Mahindra, HCL, asked these kind of fact based question on their Java recruitment drives. 1)How Java achieves platform independence? 2)What is ClassLoader in Java? 3)Write a Java program to check if a number is Even or Odd? 4)Difference between ArrayList and HashSet in Java? 5)What is double checked locking in Singleton? 6)How do you create thread-safe Singleton in Java? 7)When to use volatile variable in Java? 8)When to use transient variable in Java? 9)Difference between transient and volatile variable in Java? 10)Difference between Serializable and Externalizable in Java? 11)Can we override private method in Java? 12)Difference between Hashtable and HashMap in Java? 13)Difference between List and Set in Java? 14)Difference between ArrayList and Vector in Java 15)Difference between Hashtable and ConcurrentHashMap in Java? 16)Which two methods you will override for an Object to be used as Key in HashMap? 17)Difference between wait and sleep in Java? 18)Difference between notify and notifyAll in Java? 19)What is load factor of HashMap means? 20)Difference between PATH and Classpath in Java?