Hama Kamal

Ranch Hand
+ Follow
since May 29, 2011
Hama likes ...
Netbeans IDE Java Linux
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
7
Received in last 30 days
0
Total given
32
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hama Kamal

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?



Seetharaman what you say is quite reasonable and logical but i want to ask if it is your own conclusion or you got if from a text book?

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.




can you give an example for this one?!

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.



is the new version of this book released? scjp7?

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?



well i think there is only one Object and it's referenced from da[0],,,, do you mean that da[0] refers to two objects?

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.



are you sure that at line 2 two objects are created?

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



is the K&B book updated as well? if so where can i get it?

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 ?




is SCJP 1.7 realease?

Question:
How many objects were created?
How many object(objects) is(are) eligible for GC?



4
1

hi all,

i'm supposed to get the result in italian when i run below code but i get it in eglish,,, any idea?

Thansk Tommy, but are you sure that it is not on the exam?
well John, and on which object the private methods get called ? on the Dog object ?
how good are you in java? it depends on your background and experience
hi guys...
please check my comment below line 20
shouldn't we get NullPointerException, since theCollar has not been initialized yet???