Computer Applications
Which of the following data is a separate field for all the objects of a class?
- Local variable
- Class variable
- Instance variable
- Primitive variable
Related Questions
A private member method is only accessed:
- In the scope of the same class in which it is defined.
- Anywhere outside the class in which it is defined.
- In the derived class.
- None of the above.
A …………… variable is a common field for all the objects of a class.
- local variable
- global variable
- class variable
- instance variable
Which of the following is a combination of more than one inheritance system?
- Hybrid inheritance
- Multiple inheritance
- Single inheritance
- Hierarchical inheritance
What is another name of multilevel inheritance?
- Single inheritance
- Nested inheritance
- Multiple inheritance
- Derived inheritance