1.

Why Compiler Given Constructor Is Called As Default Constructor?

Answer»

Because it obtain all its default properties from its class.

They are:

  1. Its accessibility MODIFIER is same as its class accessibility modifier 
  2. Its NAME is same as class name.
  3. Its does not have parameters and LOGIC.

Because it obtain all its default properties from its class.

They are:



Discussion

No Comment Found