English

What is a parameterised constructor? - Computer Applications

Advertisements
Advertisements

Question

What is a parameterised constructor? 

One Line Answer

Solution

Parameterised constructor is a member function with the same name as the class name that is used to initialize the object variables by passing parametric values.

shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Constructors - Review Insight [Page 416]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 7 Constructors
Review Insight | Q 11. | Page 416
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×