हिंदी

A method body is enclosed within a pair of: - Computer Applications

Advertisements
Advertisements

प्रश्न

A method body is enclosed within a pair of:

विकल्प

  • {}

  • []

  • ()

  • Under a rectangular box

MCQ

उत्तर

{}

Explanation:

  1. In Java, a method's body is wrapped behind curly brackets {}.
  2. Everything inside these braces defines the statements that will be performed when the method is invoked.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: User - Defined Methods - EXERCISES [पृष्ठ ३३५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 5 User - Defined Methods
EXERCISES | Q I. 8. | पृष्ठ ३३५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×