| Other Core Java Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| What is the difference between jsp and servlet? |
Symphony | 6 |
| when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise? |
| 5 |
| Is it compulsory to have atleast one abstract method in
abstract class?
|
| 10 |
| 1).what is the difference between below examples
String s="vijay";
String s=new String("vijay"); |
TCS | 12 |
| what is purpose of writting public static void main(Strind
arg[]) in java..?
|
ITC-Infotech | 4 |
| What is the immediate superclass of Menu? |
| 3 |
| What is Overriding and how can it be used? |
Wipro | 7 |
| In what type of containers, Border layout is a default
layout? |
| 3 |
| Can Applet have constructors? |
| 3 |
| class A{
some variables;
public void a()throws Excepion1,Exception2{....}
}
class B extends A{
variables...
public void a()throws E2,E3{.....}
}
Qns:
here override of methods occurs or not,ore else wil give
any compilation error or run properly..plz tell me briefly
whts happening with the above codes.... |
Quinnox | 4 |
| Explain the differences between public, private, protected
and static? |
| 4 |
| What happens when a main method is declared as private? |
Sun-Microsystems | 18 |
| |
| For more Core Java Interview Questions Click Here |