MULTIPLE QUESTION ANSWERS ON CHAPTER :: CONSTRUCTOR

  • Homenew
  • News
  • MULTIPLE QUESTION ANSWERS ON CHAPTER :: CONSTRUCTOR
37
Created on By Baibhav Computer

MULTIPLE QUESTION ANSWERS ON CHAPTER :: CONSTRUCTOR

1 / 10

.A constructor is used when an _______________ is created

2 / 10

A_____________ constructor creates objects through values passed to it.

3 / 10

What is true about constructor?

4 / 10

What would be behaviour if the constructor has a return type?

5 / 10

For constructor overloading, each constructor must differ in ___________ and __________

 

 

 

6 / 10

Which of the following is not true for static block?

7 / 10

Which among the following is a type of constructor?

8 / 10

If the name of a class is ‘Number’, what can be the possible name for its constructor?

9 / 10

Which of the following is not applicable for a constructor function?

 

 

 

10 / 10

Which among the following is called first, automatically, whenever an object is created?

 

Your score is

Previous Post
Newer Post