x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

Dear Sanket, According to your question I think you might know what is a Constructor. 1. If a Constructor definition has formal arguments then it is known as Parameterized Constructor.

2. When your class doesn't have any constructor defined then compiler provies a one for you, which is know as default constructor.

3. If an contructor's formal arguments are assigned by any default values then that constructor is know as "constructor with default arguments".  Default arguments must be last in the formal argument list.

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer