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

Constructors, which are automatically called when?

Respuesta :

puppetlover2000 puppetlover2000
  • 09-10-2019

Answer:

Constructor has same name as the class itself. Constructors don't have return type. A constructor is automatically called when an object is created.

Hope this helps :)

Answer Link

Otras preguntas

What is the correct way to pick up a hot test tube? Use oven mitts and pick it up with your hands. Use tongs to transfer the test tube to a test tube holder. Al
A recipe calls for of a cup of milk for 12 cookies. How many cups of milk are needed to make 180 cookies?
Which phrase can you use to represent m-4
Which points are coplanar? A) A, B, H, G B) B, J, K, F C) C, G, A, F D) A, J, K, I
What do street lights depend on to run?
A group of tourists is determining the order in which to visit national landmarks in Washington, DC. The group contains 200 people. Of those people, 150 are adu
A serious toll was taken on Native Americans from the advancing American settlers, the loss of hunting ground, forced movement, and (A. drought, B. broken treat
The ______________ stage of a relationship involves impersonal communication and is the most frequent type of relationship people have.
What are three reasons why Reconstruction failed to live up to its potential?
37493 decreased by 8500