Which of the following is the correct syntax for a method header with parameters? a. public static

Question:

Which of the following is the correct syntax for a method header with parameters?

a. public static void example(x, y) {

b. public static (int x, int y) example() {

c. public static void example(int x, y) {

d. public static void example(x: int, y: int) {

e. public static void example(int x, int y) {

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: