| Other Core Java Interview Questions |
|| Asked @
|What is the use of static keyword in "public static void
|If I will write
String s=new String("XYZ");
String s1=new String("XYZ");
This program will give me "True".
But When I am creating my own class suppose
public Employee(String name);
Employee e= new Employee("XYZ");
Employee e1 = neew Employee("XYZ");
Then it will give the output as "False".
Can I know what is happening internally?
|Who developed JScript language?
|Suppose i have two threads t1 and t2 are running.How the
main thread will know that the two threads t1,t2 execution
|They had given one progam
final HashMap hm=new HashMap();
public void show()
in this prg here the final hashtable value can be changed in
put method,its the prg run?
|What modifiers can be used with a local inner class?
|What we have to do, when we don't want to implement all
methods of an interface?
|Write a program that takes a 5 digit number and calculates
that number and prints it.
|what's diff between struts 1.1 & 1.2
|Different types of modifiers?
|What is the purpose of the finally clause?
|String Reverse in Java...!
|For more Core Java Interview Questions Click Here |