crissybravo2120 crissybravo2120
  • 09-10-2019
  • Computers and Technology
contestada

. Constructors can / cannot (circle correct choice) be called explicitly as if they were regular member functions.

Respuesta :

Numenius
Numenius Numenius
  • 14-10-2019

Answer:

Constructor can be called as explicitly, when the compiler create the nameless and temporary object and then it get immediately get destroyed. As constructor is the special type of function which typically creates the instance of class.

The special member function in the constructor can be called as explicitly by the programmer. The main purpose of the constructor is initializing the object of the class while executing the code in the method for performing various task.

Answer Link

Otras preguntas

How did the Mongols improve trade in China
If all the particles in a metal spoon start moving faster, how has the spoon's temperature change?
show me how to write 0.326 in two other forms
According to Hinduism, What is the ultimate goal of existence?
find the unit rate given cost is $6.oo per 2/3 pound
How.to be the best person in your class?
What does the metaphor " the road was a ribbon stretching across the desert" means?
Consider a geographical area divided (for mobile phone coverage purposes) into 36 hexagonal cells, without gaps or overlaps between them. Each cell has a radius
Why were artists such as Alfred Jacob Miller and Jean-Francois Millet motivated to paint normal, everyday events? A.) to vent about frustrating events B.) to s
why is 1/6 greater than 1/8 but less than 1/3