Membership Types Excercises



Match up the following.

letter   number
_____  _____ each object has their own member but no other classes or objects have the ability to call it
_____  _____ there is only one shared unchangeable member, and any class or object has access to it
_____  _____ each object has their own member but no other classes or objects have access to it
_____  _____ there is only one shared unchangeable member, but no other classes or objects have access to it
_____  _____ there is only one shared member owned by the class but no other classes or objects have access to it
_____  _____ there is only one shared member owned by the class and any other class or object has the ability to call it
_____  _____ each object has their own member and any class or object has access to it
_____  _____ each object has their own unchangeable member, and any other class or object has access to it
_____  _____ each object has their own member and any class or object has the ability to call it
_____  _____ there is only one shared member owned by the class but no other classes or objects have the ability to call it
_____  _____ each object has their own unchangeable member, but no other classes or objects have access to it
_____  _____ there is only one shared member owned by the class and any other class or object has access to it
a) public class constant data
b) public instance variable data
c) public class method
d) private class constant data
e) private instance method
f) private instance constant data
g) private class method
h) public class variable data
i) public instance constant data
j) private instance variable data
k) public instance method
l) private class variable data
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)