| 11. |
When destructors are called? (destructors ક્યારે call થાય છે)
|
||||||||
|
Answer:
Option (a) |
| 12. |
What is the difference between constructors and destructors? (કન્સ્ટ્રકટર્સ અને ડિસ્ટ્રક્ટર્સ વચ્ચે શું તફાવત છે?)
|
||||||||
|
Answer:
Option (c) |
| 13. |
How many Destructors are allowed in a Class? (એક Class માં કેટલા ડિસ્ટ્રક્ટર ને allow કરવામાં આવે છે?)
|
||||||||
|
Answer:
Option (a) |
| 14. |
Which operator is used to declare the destructor? (ડિસ્ટ્રક્ટર declare કરવા માટે કયા ઓપરેટરનો ઉપયોગ થાય છે?)
|
||||||||
|
Answer:
Option (b) |
| 15. |
Can constructors be overloaded? (કન્સ્ટ્રકટરો ઓવરલોડ થઈ શકે?)
|
||||
|
Answer:
Option (a) |
| 16. |
Assume class TEST. Which of the following statements is/are responsible to invoke copy constructor? (class TEST Assume કરો. નીચેના કયું statements copy કન્સ્ટ્રક્ટર ને call માટે જવાબદાર છે)
|
||||||||
|
Answer:
Option (d) |
| 17. |
Is it possible to define a constructor with default arguments? (default arguments સાથે કન્સ્ટ્રક્ટરને define કરવું શક્ય છે?)
|
||||
|
Answer:
Option (a) |
| 18. |
Which among the following best describes constructor overloading? (નીચેનામાંથી શું કન્સ્ટ્રક્ટર ઓવરલોડિંગ નું શ્રેષ્ઠ વર્ણન કરે છે?)
|
||||||||
|
Answer:
Option (c) |
| 19. |
Does constructor overloading include different return types for constructors to be overloaded? (કન્સ્ટ્રક્ટર ઓવરલોડિંગ માં constructors માટે વિવિધ return types આવેલ છે?
|
||||||||
|
Answer:
Option (d) |
| 20. |
Which among the following represents correct constructor? (નીચેનામાંથી કયુ સાચો constructor ને રજૂ કરે છે?)
|
||||||||
|
Answer:
Option (d) |