i'm currently using scjp 1.6 study guide (Exam 310-065) written by Kathy Sierra and Bert Bates for preparing my scjp 1.6 exam. Does this book conform to the whole syllabus inconformance to the present scjp1.6 syllabus. anyone please help me out. thanks in advance.
class Top {
public Top(string s)
{
System.out.print("b");
}
public class Bottom2 extends Top{
public Bottom2(String s)
{
System.out.print("D");
}
public static void main(String [] args){
new Bottom2("c");
System.out.println(" ");
}
}
doubt:
1.wats the meaning of : new Bottom2("c"); in the above program.
i have finished learning object orientation chapter in kathy sierra scjp 1.6............but still im unable to answer the practice questions given in the end of this object orientation chapter....anyone suggest me tips to crack this chapter ...........anticpating for the reply................
ques:
given:
public abstract interface frobnicate { public void twiddle(string s);
choose t correct class
ans given in k&b:
doubt: is it possible to change the argument while implementing the interface(but the rules for implementing interface states that it should adhere rules of overriding).i.e, passing i instead of s....if so it becomes like overloading.....kindly anyone explain..........
anticipating for the explanation
tanx in advance.................