Java - Methods and Code Reusability
Which of the following is the correct way to call a method named
displayMessage in Java?displayMessage in Java?displayMessage(); matches the correct syntax for calling a method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions