| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is hashmap& hashtable with example? | CTS | 1 |
| What is meant by Encapsulation? Can you write a class to
explain encapsulation? | Ness-Technologies | 8 |
| what is d difference between deep cloning and shallow
cloning in core java? | Satyam | 2 |
| suppose in a class there is a code like this:
{
Set hs=new Hashset();
hs.add(new Emp("kathy",1000));
hs.add(new Emp("kathy",2000));
}
how can u avoid the above code in your class as set won't
allow duplicate objects? | | 2 |
| what is the JNDI? | | 3 |
| If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification. | | 2 |
| write a progam hashmap & hashtable? | IBM | 2 |
| what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this | | 7 |
| how many ways we can serialize the java object? | Satyam | 1 |
| JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?
Thanks,
Seenu | Huawei | 3 |
| What is the need of "creating and throwing an
UserdefinedException" when the "Exception" class is already
available? | | 4 |
| why we import both packages java.awt.*; and java.awt.event.*;
as java.awt.*; can import all classes na. then what is the
need of importing java.awt.event.*; ? | | 2 |
| why Runnable interface is preferable than extending the
Thread class? | Wipro | 5 |
| Need 2+ yrs experienced java techinical question papaer for
company Iflex | | 1 |
| What is the is a and has a relation ship in oops concept in
java? | BearingPoint | 5 |
| Can we declare variables inside a method as Final Variables? | | 3 |
| what is difference between abstract and interface?
can i give real time example for the two topics? | | 6 |
| long d =10;int i =0;i=d; /// is this possible? If d is very
long number (10 digits or some thing) then? | | 3 |
| When we will use an Interface and Abstract class? | | 3 |
| what us Dyna action form? | Aithent-Technologies | 3 |
| |
| For more Core Java Interview Questions Click Here |