Computer Science, asked by kraghaver, 1 year ago

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 AbhinashDutta
0
the first one is the correct answer
Similar questions