• 2022-06-15
    Which four code fragments, inserted independently at line 7, will compile?()
    A: public void m1(){}
    B: protected void m1(){}
    C: private void m1(){}
    D: void m2(){}
    E: pubic void m2(){}
    F: protected void m2(){}
    G: private void m2(){}