Question: Which of the following is a valid method header to create a non - static void method named displayResults with no parameters? All are invlaid.
Which of the following is a valid method header to create a nonstatic void method named displayResults with no parameters?
All are invlaid.
public static void displayResults
public void displayResults
public void displayResults
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
