| Author |
Var args question...
|
John Brown
Greenhorn
Joined: Jan 12, 2007
Posts: 2
|
|
How many compilation errors in the following code? a) No compilation error b) 2 c) 4 [ January 12, 2007: Message edited by: John Brown ]
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6603
|
|
|
Should be easy to find out shouldnt it ?
|
SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
|
 |
John Brown
Greenhorn
Joined: Jan 12, 2007
Posts: 2
|
|
Easy with a compiler of course. This is not a mock exam question, I was just playing around with var args... Why are var args ambiguous in the code sample? [ January 12, 2007: Message edited by: John Brown ]
|
 |
 |
|
|
subject: Var args question...
|
|
|