Question: Which of the following method declarations is correct for a static method named display Facts() if the method receives an int argument? a. Public static
Which of the following method declarations is correct for a static method named display Facts() if the method receives an int argument?
a. Public static int display Facts()
b. Public void display Facts (int data)
c. Public static void display Facts (int data)
d. Public void display Facts(static int)
Step by Step Solution
3.34 Rating (160 Votes )
There are 3 Steps involved in it
c The method is static and receives an in... View full answer
Get step-by-step solutions from verified subject matter experts
