(Choose 2 answers)
class Base{
Which of the following methods can be legally inserted in place of the comment //Method Here? (select twc
public void amethod(int i) {}}
public class Scope extends Base{
public static void main(String argv[]){
//Method Here
}
A. void amethod(int i) throws Exception {}
B. void amethod(long i) throws Exception {}
C. void amethod(long i){}
D. public void amethod(int i) throws Exception {}
Exit 5