SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP6.0,My blog Ranchers from Delhi
“The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'.”
K Abhijit wrote:interface and Overloading are quite independent mechanism; we should not try to mix them ..
Shanky Sohar wrote:you cannot do like this.
“The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'.”
SCJP6.0,My blog Ranchers from Delhi
Ernest Friedman-Hill wrote:Neither of these examples is what the original poster was asking about, though. If an interface includes both "Object[] toArray()" and "Object[] toArray(Object[])", then a class implementing this interface has to implement both overloaded methods, of course.
“The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'.”
SCJP6.0,My blog Ranchers from Delhi
SCJP 1.5 | SCWCD 5 | SCJP 6.0
[url]http://a2zjava.webs.com[/url] - Online training for Java/JSPs and Servlets/SCJP/SCWCD
http://soniyaahuja.webs.com
SCJP6.0,My blog Ranchers from Delhi
Vonique Leary wrote:What happened to the code tags?
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
“The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'.”
“The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'.”
Don't get me started about those stupid light bulbs. |