Correct method naming convention in java
-
getMethod
-
get () method
-
getMethod()
-
get.Method()
C
Correct answer
Explanation
The standard convention for method names in Java uses camelCase followed by parentheses representing the parameter list, such as getMethod(). Names without parentheses or containing spaces or dots are invalid method identifiers.