214k views
0 votes
Accessor instance method names typically begin with the word "____" or the word "____" depending on the return type of the method.1. set, is

2. get, can
3. set, get 0%
4. get, is

User Freddroid
by
5.6k points

1 Answer

3 votes

Answer:

Accessor instance method names typically begin with the word "Get" or the word "Is" depending on the return type of the method.

Step-by-step explanation

These methods are also called get methods. These are the type of instances that allow to get variable value from the outside of class.

This is the reason that this type of instances start with the word Get.

For Example

an instance could be started as

public datatype of variable getvarname

{

}

User Luigi Ballabio
by
5.1k points