Question
List out the differences between the constructors and destructors

Answers

? destructors can be virtual whereas constructors can’t,
? you cannot pass arguments to destructors,
? there can be one destructor can be declared for a given class,
? constructors cannot be called explicitly like the way a normal function is called using their qualified name whereas a destructor can be.   Your Comment






Search
Can you Answer!!
  • Q What Are the Types of PL/SQL Code Blocks?
  • Q Define matlab package.?
  • Q Explain the difference between InfoCube and ODS
  • Q The saliva helps in the digestion of which thing?
  • Q What are the main steps in java to make JDBC connectivity?
  • Q In the 1976 Olympics who were the Yellow Bananas
  • Q Give an account on vaccine.
  • Q Main Difference between contactor and Starter.
  • Q What is the overall structure of the company and how does your department fit the structure?
  • Q Is a secondary spermatocyte N or 2N?
  • Q What is Broadband?