मराठी

What is the role of the keyword void in declaring methods?

Advertisements

प्रश्न

What is the role of the keyword void in declaring methods? 

एका वाक्यात उत्तर
Advertisements

उत्तर

In the method signature, the term "void" indicates that no value is returned by the method. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: User - Defined Methods - EXERCISES [पृष्ठ ३३७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 5 User - Defined Methods
EXERCISES | Q VI. 17. | पृष्ठ ३३७
अविचल Computer Applications [English] Class 10 ICSE
पाठ 5 User - Defined Methods
Review Insight | Q 7. | पृष्ठ ३३३
Advertisements
Share
Notifications



      Forgot password?
Use app×