मराठी

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×