| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How many methods does cloneable interface contains? | | 2 |
| Why we use static and synchronized in method for single
thread model
example:
public static synchronized add(){} | | 1 |
| What are the OOAD concepts in java explain with examples? | Aricent | 4 |
| What is Servlet? | | 8 |
| what is difference between colection and collections? | Tech-Mahindra | 8 |
| Explain about global variables in Java? | | 2 |
| wht is mean by dirty read? | | 1 |
| String is a immutable objects . it means that string does
not change...........
But it will be chang.........
{
String s="kapil";
String s1="raj";
String s=s1;
then print(.......)
The String has been changed ..
how it is possible and why its called immutable objects | | 3 |
| What is yielding and sleeping? how they different? | | 2 |
| While opening the file, what type of exceptions can be
caught? | | 3 |
| what is filters and its use? | Virtusa | 2 |
| how to handled exceptions & erros in ejb? | Satyam | 1 |
| which swing component is similar to rich text box in .net/vb | | 1 |
| what are depricated methods ? | Satyam | 4 |
| what is the use/perpose of having a method antive? | | 2 |
| Consider that class classA, abstract class classB, and
final classC have been defined.Which one of the following
is correct?
1. classA extends classC implements classB
2. class A extends classB, classC
3. classA extends classB
4. classB implements classC | | 1 |
| In C we use only compiler. Why java uses both compiler and
interpreter? What is its significance? | | 5 |
| how can u handle run time exception in java? explain with
brief explanation with examples? | CTS | 2 |
| What is deadlock and how to avoid this? | | 2 |
| Explain the concept of polymorphism with examples? | | 4 |
| |
| For more Core Java Interview Questions Click Here |