| A | B |
| private | without the use of public or (this) declaration, access to data and methods is available to methods of the same class and other classes. |
| private | this type of data or methods is restricted to methods of teh same class |
| public | available to methods of the same or other classes |
| greater | the use of private in a class declaration creates this type of program reliablity |
| constructor | used to initialize class data and call other methods if they are necessary to construct a new object. |
| data | ___ attributes and some helper methods should be declared private |
| methods | ___ should be declared public only |
| static | a class method requires this |
| object | ___ method requires using teh keyword new |
| private | ___ method can never be a constructor,a helper method, and only be used within its own class |
| public | ___ method can be accessed by members of the same class |
| void | ____ method can also be a(n) static method,public method, and private method |
| return | ___ method indicates the data type of the return value and uses the keyword return. |
| default constructor | no-parameter method, which is called automatically during instantiation of a new object |
| parameter constructor | a parameter method, which is called automatically during the instantiation of a new object |