About Question enthuware.ocajp.i.v7.2.1052 :
Posted: Mon Aug 06, 2012 3:52 pm
The code listing in the question has the following method:
Can a method be called using curly braces? Suspecting my information, I tried to call a dummy method like that. The compiler gave an error as I expected.
Am I missing something?
Code: Select all
public void test() {
test1(10){} // 1
test1(10,20){} // 2
}
Am I missing something?