Which of the following method declarations is correct for a static method named display Facts() if the

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 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)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: