Answer (Choose 1 answer)
Given the following class definition
public class Upton{
public static void main(String argv[]){
}
public void amethod(int i){}
//Here
}
Which of the following would be illegal to place after the comment //Here?
A. public int amethod(int z){}
B. public int amethod(int i, int j){return 99;}
C. protected void amethod(long l){}
D. private void anothermethod(){}
Exit (18