Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?
Apply OOP concept and you will find the answer. Hint: Number is superclass of Integer, Long, etc..Why is Number preferred instead of Integer or Long in the case of System.out.print(doX(s,s) + " ");
Originally posted by Cyrano DeBergerac:
3) Most closely Matching method with VarArg and with Auto-boxing/unboxing
Can it be decoupled like this ?
3a) Most closely Matching method with VarArg and without Auto-boxing/unboxing
3b) Most closely Matching method with VarArg and with Auto-boxing/unboxing
Because in your last example (display 2), I fail to see any autoboxing / unboxing
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
As soon as u introduce the varargs, u cannot have multiple matching
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Originally posted by Bert Bates:
the good news is that this subtlety isn't on the exam!
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|