antlife9316 antlife9316
  • 14-09-2019
  • Computers and Technology
contestada

What is the difference between the default constructor and the overloaded constructor?

Respuesta :

ExieFansler ExieFansler
  • 17-09-2019

Explanation:

A default constructor is a constructor that present in the class by default with no parameters when we write a new constructor with parameters it is called overloaded constructor.There can be different overloaded constructors in the same class.

The main difference between default constructor and overloaded constructor is that the default constructor does't have any parameters while the overloaded constructors have parameters.

Answer Link

Otras preguntas

one package of strawberries costs $4.50 how many will 3 packages cost? if you can please show your work:)
Use the Cross Products Property to solve x/35 = 2/7.
X+2x=-4,3x-5y=-1 using elimination method​
1. If you are a memberofa team ,what shouldbe your responsibilities?2. if you have given a chance to officiate someday what role would you like assume and why?​
Declare something to be wrong in a public way
PLEASE HELP !!! THIS IS SPANISH I WILL MARK U BRAINLIEST IF UR CORRECT
what is the lateral surface area of a rectangular prism in square inches.
The smith family took a 2-day road trip.on the second day,they drove 3/4 the distance they traveled on the first day. What is possible distance they could have
Simplify the expression. 5(x + 10) + x​
How might snow that formed high in a towering cloud produce rain? A. This precipitation actually begins as freezing rain, which freezes into snowflakes before m