Java - Packages and Access Control
Which of the following is the correct way to declare a public method in Java?
public void myMethod() {}. Others have wrong order or invalid keywords.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions