11. |
_______________ is a member function that is declared within a base class and redefined by derived class. (_______________ એ એક member function છે જે બેઝ ક્લાસની અંદર declare કરવામાં આવે છે અને derived class દ્વારા ફરીથી redefined કરવામાં આવે છે.)
|
||||||||
Answer:
Option (a) |
12. |
What is the difference between protected and private access specifiers in inheritance? (inheritance માં protected અને private access specifiers વચ્ચે શું difference છે?)
|
||||||||
Answer:
Option (b) |
13. |
Find the wrong statement/s about Abstract Class. (એબ્સ્ટ્રેક્ટ ક્લાસ વિશે ખોટું statement શોધો.)
|
||||||||
Answer:
Option (b) |
14. |
In case of inheritance where both base and derived class are having constructors, when an object of derived class is created then___________ . inheritance ના case માં જ્યાં base અને derived class બંનેમાં કન્સ્ટ્રક્ટર હોય છે, જ્યારે derived class નો object બનાવવામાં આવે છે ત્યારે _______ થાય છે.
|
||||||||
Answer:
Option (d) |
15. |
Which among the following defines single level inheritance? (નીચેનામાંથી શું single level inheritance નક્કી કરે છે?)
|
||||||||
Answer:
Option (b) |
16. |
If class A and class B are derived from class C and class D, then ________________ (જો class A અને class B એ class C અને class D માંથી લેવામાં આવ્યા છે, તો ________________બને છે)
|
||||||||
Answer:
Option (a) |
17. |
If single inheritance is used, program will contain ________________ (જો single inheritance નો ઉપયોગ કરવામાં આવે છે, તો પ્રોગ્રામમાં ________________ આવેલા હોય છે)
|
||||||||
Answer:
Option (a) |
18. |
Which among the following is false for single level inheritance? (single level inheritance માટે નીચેનામાંથી શુંખોટું છે?)
|
||||||||
Answer:
Option (c) |
19. |
Which constructor will be called first from the classes involved in single inheritance from object of derived class? (derived class ના object થી single inheritance માં આવેલા classes માંથી કયા કન્સ્ટ્રક્ટર પહેલા call થશે?)
|
||||||||
Answer:
Option (a) |
20. |
Which among the following best defines multilevel inheritance? (નીચેનામાંથી શું best multilevel inheritance ને define કરે છે?)
|
||||||||
Answer:
Option (b) |