8. Fill in the blanks. is a form of software reuse in which new classes absorb t
ID: 3869532 • Letter: 8
Question
8. Fill in the blanks. is a form of software reuse in which new classes absorb the data and behaviors of existing classes and embellish these classes with new capabilities Answer 8.b A function that is not defined in a class is called a Answer: 8.c C+ provides for , which allows a derived class to inherit from many base classes, even if the base classes are unrelated. Answer: 8.d When an object of a derived class is instantiated, the base class's is called implicitly or explicitly to do any necessary initialization of the base class data members in the derived class object. Answer: 8.e When a variable is declared in I, it has a scope Answer 8.f A variable that maintains its value when the program execution exists the block where the var iable was declared is a variable Answer 8.g The capability of a nonmember function having full access to a class's members i called a of the class Answer: 8.h Friend function is not inherited. Answer: 8.i Inheritance is an relationship between the base and derived classes Answer: 8.i Member functions of a derived class can access the and members of the base class Answer:Explanation / Answer
8.a.
A_______is a form of software reuse in which new classes absorb the data and behaviors of existing classes and embellish these classes with new capabilities.
Ans: Inheritance.
In object oriented programming language Inheritance is the form of software that is used to create a class that absorbs an existing class's behaviors.
8.b.
A function that is not defines in a class is called as_____
Ans: Friend function.
8.c.
Ans: Multyply inheritance.
Multiply inheritance is a property of creating derived class by aquiring properties of more than one base class.
8.d.
Ans: constructor.
8.e.
Ans:when a variable is declared in {}, it has a ___scope.
Ans: Public
8.f
Ans: Static variable.
8.g
The capability of a nonmember function having full access to a class's members is called a __of the class.
Ans: Member function.
8.h
Friend function is __,not inherited
Ans: Derived.
8.j
Ans: Objects and methods.
Public member functions provide the __with the outside world through their parameter lists and the returned data
Ans: Encapsulation
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.