A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Which of the following is correct?
a. An attribute is an class variable when each object stores its own value for the attribute
b. An attribute can also be a instance variable, which means that there is only one value stored for the attribute that is shared by all class instances
c. An instance operation can be called using any object
d. A class operation is encapsulated in a class and can be called through the class
Answer:A class operation is encapsulated in a class and can be called through the class
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here