The main method in java should ___________.
Answer options
A
take boolean[] as argument
B
return int
C
be private static
D
be public static
Correct answer: be public static
Explanation
Quick AnswerThe correct answer is be public static because it directly addresses the core logic of Java Programming.
Correct answer: be public static.