English

Multiple constructors with different set of parameters are called:

Advertisements
Advertisements

Question

Multiple constructors with different set of parameters are called:

Options

  • multiple constructors

  • formal constructors

  • actual constructors

  • overloaded constructors

MCQ
Advertisements

Solution

overloaded constructors

Explanation:

Constructor overloading allows a single class to have more than one constructor, provided their parameter lists (number of arguments, types of arguments, or order of arguments) are completely different. This gives the programmer flexibility to initialize objects in multiple distinct ways

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: Constructors - Exercises [Page 114]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 4 Constructors
Exercises | Q 1. (iv) | Page 114
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×