1) public void amethod(String s, int i){}
4) public void Amethod(int i, String s) {}
Overloaded methods are differentiated only on the number, type and order of parameters, not on the return type of the method or the names of the parameters.
________________________________________
Answer 53)
Objective 6.2)
4)Base b = new Base(10);
Any call to this or super must be the first line in a constructor. As the method already has a call to this, no more can be inserted.
________________________________________
Answer 54)
Objective 4.1)
1)System.out.println(s);
4) System.out.println(iArgs);
A class within a method can only see final variables of the enclosing method. However it the normal visibility rules apply for variables outside the enclosing method.
________________________________________
Answer 55)
Objective 7.2)
1) yield()
2) sleep
4) stop()
Note, the methods stop and suspend have been deprecated with the Java2 release, and you may get questions on the exam that expect you to know this. Check out the Java2 Docs for an explanation
________________________________________
Answer 56)
Objective 10.1)
