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

help plzWhich ratio is not equivalent to the others,3 to 16 to 39 to 312 to 4​
Sam has 6 shells. Isabel has || shells. Which equation can be used to solve the problem? Click or tap the equation. How many shells do Sam and Isabel have in al
Which expression is equivalent to 7a - 8 - 12a + 4 1. 9a 2. 31a 3. 19a + 12 4. -5a - 4
PLEASE HELP reading "Let America Be America Again", how can voice empower an individual or community? Provide textual evidence to support your response.
Write a sine function that has a midline of 5, an amplitude of 4 and a period of 7/5
Which two countries did Italy conquer before World War II?
How many terms are in the following expression? 2x + 5t -6
Misleading Graphs and statistics ( PLEASE HELP)
Solve for x 4(x-1)=2(6-2x) Thank you! :)
what was the very first crown fire truck