| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Iterator in the HashMap is fail-safe means what? | IBM | 6 |
| What is the is a and has a relation ship in oops concept in
java? | BearingPoint | 5 |
| Can we call the Thread.sleep in Synchyronozed block? | Logica-CMG | 4 |
| Name the package that always imported by default? | | 2 |
| methods in Applet? | | 1 |
| Adapter classes? | | 3 |
| how to handled exceptions & erros in ejb? | Satyam | 1 |
| What is the smallest package in Java API? | | 2 |
| If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface? | Synechron | 4 |
| is this possible to create an array of 0 length?
if so how? if not so why?
coz we have an array in main() likw this
"static void main(String [] s) then what it signifies? | Hexaware | 2 |
| What is run-time class and system class? what is their
purpose? | | 1 |
| Difference between Interface & Abstract class? | | 3 |
| Explain the term serialization? | Wipro | 4 |
| We have two methods to create methods the threads.
1. Implementing runnable interface
2. Extending to thread class and overriding run method.
Among these two which one is better and why?
Please explain me in detail. | | 1 |
| How many methods does cloneable interface contains? | | 2 |
| What is an enumeration class? | | 2 |
| Why do we use public static with the main function in Java? | Infosys | 4 |
| what is the difference between equals method and == | Professional-Access | 10 |
| 1).what is the difference between below examples
String s="vijay";
String s=new String("vijay"); | TCS | 11 |
| How GC (Garbage Collector) knows the objects reference is
unused.Whether GC removes the unused object Parmanently or
it maintains something. | | 2 |
| |
| For more Core Java Interview Questions Click Here |