No doubt that preparation is the key to success, and it is helpful to know various questions commonly asked during Java interviews.
1. Why is Java a platform independent language? 2. Pointers are used in C/ C++. Why does Java not make use of pointers? 3. What do you mean by data encapsulation?
1. Why does Java make strings immutable, aside from security reasons? 2. What's the difference between a String, StringBuffer, and StringBuilder? 3. What is a Comparator in java?
1. What’s the difference between ‘>>’ and ‘>>>’ operators in java? 2. How is creation of string using new() different from that of literal? 3. What is marker interfaces in Java?