Completes each of following definitions by filling each of the blank with the ap
ID: 3826286 • Letter: C
Question
Completes each of following definitions by filling each of the blank with the appropriate word or phrase: 1. In C++ "______"the variables are declared using the qualifier static. 2. The purpose of a "______"is to deal locate memory to class instances. 3. Class or Variable "______"serve as a model for a family of classes or variables in functions' definitions. 4. The variable scope "_____"means that the names of the data attributes and function members are local to the scope of their class. "_____" means that the function's action is determined by the object using it. 6. The purpose of a constructor is to allocate "_____"to class instances. 7. Unlike a method, which is always a member of a "_____"a function is a non-class procedure. 8. The scope "_____"allows subclasses to access private variables of their parent classes.Explanation / Answer
1)In c++ ______ variables are declared using the qualifier static
Ans)shared
2)the purpose of a ___ is to deallocate the memory of class instance
Ans) Destructor
3) class or variable ______serves as model for family of classes or variables in function
Ans) declaration
4)The variable scope _________ means that the names of the data attributes and function members are local to the scope of their class
Ans) private
5)__________ means that the function’s action is determined by the object using it.
Ans) function call
6)The purpose of a constructor is to allocate _________ to class instances
Ans) Constructor
7)unlike a method, which is always a member of a __________a function is a non class procedure.
Ans) header file
8) The scope _________ allows subclasses to access private variables of their parent classes
Ans) Protected
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.