| Author |
Doubt About setAttribute Method
|
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
When i run above code it gives output as 111. Now my doubt is that how i am able to set primitive int(myInt) value in setAttribute method at line 6 whenever it should be Object. is method using autoboxing? Thanks
|
 |
Arvind Giri
Ranch Hand
Joined: Jun 26, 2005
Posts: 91
|
|
Yes! and you must be using jdk 1.5. Am I right?
|
Regards<br /> <br />Arvind Giri<br />MCA,SCJP 1.4,SCWCD 1.4<br />Looking for SCDJWS
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
|
Yes i am using jdk 1.5.
|
 |
Swati Udas
Ranch Hand
Joined: Aug 18, 2004
Posts: 121
|
|
|
hey Arvind how did you figure out that its jdk 1.5 ?
|
SCJP 1.4 (90%)<br />SCWCD 1.4 (88%)
|
 |
Karthikeyan Varadarajan
Ranch Hand
Joined: Jul 04, 2002
Posts: 98
|
|
|
auto boxing :roll: :roll: :roll:
|
~With Smile<br />VK
|
 |
 |
|
|
subject: Doubt About setAttribute Method
|
|
|