Hi AK,
Just one thing i want to say to you that you must look at once the
java specification tutorial before appearing in the exam.
You can get it from
http://java.sun.com/docs/books/jls/second_edition.
Because it will tell you a lot of things that you may not be knowing.
For an example just tell the output of the following program :-
class Super {
Super() {
printThree();
}
void printThree() {
System.out.println("three");
}
}
class Test extends Super {
int three = (int)Math.PI; // That is, 3
public static void main(String[] args){
Test t = new Test();
t.printThree();
}
void printThree() { System.out.println(three); }
}