Which statement is true about a Java method?
A. It must be declared with an access modifier.
B. It cannot be defined within another method.
C. It must accept a parameter and return a value.
D. It cannot be defined as static final.
Which statement is true about a Java method?
A. It must be declared with an access modifier.
B. It cannot be defined within another method.
C. It must accept a parameter and return a value.
D. It cannot be defined as static final.