Advertisements
Advertisements
Question
A method body is enclosed within curly brackets.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
In Java, method bodies are always wrapped behind curly brackets {}. This is where the method's claims and logic are written.
shaalaa.com
Is there an error in this question or solution?