हिंदी

A method cannot be defined without parameters. - Computer Applications

Advertisements
Advertisements

प्रश्न

A method cannot be defined without parameters. 

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

This statement is False.

Explanation:

In Java, a method can be declared without any parameters. These methods are known as parameterless methods because they can still conduct actions even when no arguments are passed to them.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: User - Defined Methods - EXERCISES [पृष्ठ ३३५]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×