| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is d difference between deep cloning and shallow
cloning in core java? | Satyam | 2 |
| StringBuilder s = new StringBuilder("Hello
Mom");s.append(",I mean,Mother");
Response.Write(s.ToString());
String s = "Hello Mom";
s+ = ",I mean Mom";
Response.Write(s);
Which is faster ? which uses the most memory? | | 4 |
| What is Locale class? | MySoft | 1 |
| What is more advisable to create a thread, by implementing
a Runnable interface or by extending Thread class? | | 5 |
| 1).Is Object class abstract or not?
2).Is main method(public static void main(String args[])low
priority thread or high priority thread?
| TCS | 2 |
| Can we declare an anonymous class as both extending a class
and implementing an interface? | Wipro | 7 |
| which method throws exception of type Throwable | | 2 |
| what is difference between front controller and action servlet? | | 2 |
| Difference between Hash Table and Hash Map? | Persistent | 7 |
| we know that every java prog must follows OOPS Principles.
Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS
CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation?
class a{
public static void main(String args[]){
System.out.println("Hello World");
}
}
| | 3 |
| If set accepts only one argument then how can it compare
two objects to avoid duplicates | | 3 |
| Which Java operator is right associative? | | 1 |
| Is &&= a valid Java operator? | | 2 |
| Is java supports multiple inheritance? explain? | Inforica | 11 |
| What is Transient and volatile | iFlex | 9 |
| program to validate the IP address? Validity range should be
0 to 255 | Huawei | 1 |
| When does Exception occurs? | | 3 |
| how to pass the parameters to applets? | | 1 |
| What are the parameters used in Connection pooling? | IBM | 1 |
| what are Checked & Unchecked exceptions ? | | 2 |
| |
| For more Core Java Interview Questions Click Here |