Thanks & Regards<br />Mallik Avula<br />SCJP1.4
cmbhatt
4)1my doubt is with option 2- class Moodle is not using implements Remote, can't we create an object of Remote and just leave without implementing test?
6) 4 I knew the Garbage collection is there in SCJP1.5 but, the questions will be such deeper? we should know the System class. I haven't seen in any books I read.
Originally posted by M Krishnan:
For question 5, answers are 1 & 2.
5) Which of the following can legally be inserted into an interface?
1)
public static String getPostCode();
2)
public abstract String getName();
3)
private String getAverageHousePrice();
4)
public void setPostCode(String s) { System.out.print(s); }
cmbhatt
Originally posted by M Krishnan:
For question 1, answer A is only partly correct. In my understanding the languages don't have to be C or C++ and the first part of the answer is correct.
Any thoughts?
cmbhatt
Originally posted by M Krishnan:
For question 1, answer A is only partly correct. In my understanding the languages don't have to be C or C++ and the first part of the answer is correct.
SCJP 1.4 - SCJP 1.6 - OCEJWCD in progress
Originally posted by megha joshi:
Hi,
The question is not outside the book knowledge. The last second page of the garbage collection topic in K&B book mentions System.gc() is the method used to request garbage collection. Hence 4. is the correct choice.
If you tell me what doubts you have about the other answers , I can try to help with them.
Thanks,
Megha
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |