Seetharaman Venkatasamy wrote:
Hama Kamal wrote:do you mean that da[0] refers to two objects?
It is a chaining, da[0] referes Dozens object, which internally referes []dz object. clear now?![]()
First superclass in the hierarchy of the serializable class that does not implements Serializable interface, MUST have a no-arg constructor.
If this is violated, readObject() will produce a java.io.InvalidClassException in runtime.
n nandwana wrote:
Yohan Weerasinghe wrote:I have brought this book
Yes this is a good book, but if you feel it's being tough for you than you can also try book by Khalid&Mughal SCJP 6.
Seetharaman Venkatasamy wrote:
Hama Kamal wrote:are you sure that at line 2 two objects are created?
array int[] is an object. when Dozens object get initialized, it initialized an object []dz of type int array. what do you think?![]()
Seetharaman Venkatasamy wrote:Well, Actually there are 5 objects created, and only 1 object is eligible for GC.
Note* but end of the method , all the above 5 objects will be Garbage Collected.
la fyuan wrote:Given:
Question:
How many objects were created?
How many object(objects) is(are) eligible for GC?
Loganathan Karunakaran wrote:Today I saw that Java 7 beta exams are added in the Oracle's Certification Pages. Just thought of sharing it:
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=505
Regards
Loganathan
n nandwana wrote:Can anyone tell me, what is major difference between them, till now i was preparing for 1.6 through "SCJP 1.6 Study Guide by K&B", now what should i do ? Can anyone tell me book for 1.7 ? now , Is OCA mandatory for OCJP 1.7 ?
Question:
How many objects were created?
How many object(objects) is(are) eligible for GC?