No products in the cart.

write any two similarities between constructors …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

write any two similarities between constructors and destructors.write the function headers for constructor and destructor of a class flight
  • 4 answers

Preeti Kumari 5 years, 7 months ago

Both have same name as that of class , they can't be inherited

Vidushi Shukla 5 years, 7 months ago

Yes but that will be a difference and here its a simmilarity that the name is same. But yes sorry for the answer I should have mention that.

Rock Star 5 years, 7 months ago

It cannot be inheritable u are wrong vidushi in destructor classname is used with tilt sign

Vidushi Shukla 5 years, 7 months ago

Same name as the class and called by themselves
http://mycbseguide.com/examin8/

Related Questions

What is mean by buffering in file handling?
  • 1 answers
What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App