Advertisements
Advertisements
प्रश्न
A method body is enclosed within a pair of:
पर्याय
{}
[]
()
Under a rectangular box
MCQ
उत्तर
{}
Explanation:
- In Java, a method's body is wrapped behind curly brackets {}.
- Everything inside these braces defines the statements that will be performed when the method is invoked.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?