Preparing SCJP 6, try to get high score, and looking for a job...
SCJP 1.5 94%.
The greatest glory in living lies not in never falling, but in rising every time we fall.
Preparing SCJP 6, try to get high score, and looking for a job...
SCJP 1.5 94%.
The greatest glory in living lies not in never falling, but in rising every time we fall.
with Regards,<br />VidyaVikas Yalamanchili SCJP 5.0
Then, How about <? super String>, does it have same meaning? or means you can add String(String has no subClass), am I right with this point?
SCJP 5
for <? super String> you can add String or Object.
SCJP 1.5 94%.
The greatest glory in living lies not in never falling, but in rising every time we fall.
SCJP 5
When you gave decleration as <? super Object> you need to specify the type in method call.When you specify the the type then you can add only those type objects or the Objects which satisfy IS-A.
Preparing SCJP 6, try to get high score, and looking for a job...
------------------------
Bob
SCJP - 86% - June 11, 2009
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |