What is the syntax for declaring a static method?
public static void myMethod() {}
public static myMethod();
public static class myMethod();
public class myMethod() {}
Answers
Answered by
0
the first one is the correct answer
Similar questions
English,
8 months ago
Social Sciences,
8 months ago
Math,
8 months ago
Chemistry,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago
Science,
1 year ago