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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?