Question:Which of the following statements are true  about constructors? 

A Constructor is defined as block of code that automatically executes at the time of object instantiation. 

B Constructor can accept parameters. 

C Constructor ensures that the object being passed to the method. 

D Class constructors cannot call on other constructors. 

+ Answer
+ Report
Total Preview: 1019

Copyright © 2024. Powered by Intellect Software Ltd