Java - Packages and Access Control
Which of the following is the correct way to declare a protected method in Java?
protected followed by the return type void and method name. Other options combine modifiers incorrectly or place them in wrong order.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions