Home / MCQ Bank / Computer
Computer Constructors And Destructors In C Plus Plus Difficulty: Medium

Why constructors are efficient instead of a function init() defined by the user to initialize the data members of an object?

Select the correct option to test your answer:

More Computer Questions

What is the method used to convert a value to string in Ruby? How can you handle exceptions in Java threads? To create Scenario which option requires to be activated There are 10 dice having 5 faces. The faces are numbered from 1 to 5. What is the number of ways in which a sum of 4 can be achieved? ungetc() is used . . . . . . . .