Solved

Public Int GetStudentNum()

Question 18

Essay

public int getStudentNum()
{
   return studentNum;
}

In the above code, identify if the method is a mutator method or an accessor method. Describe how the two types of methods differ and how they are similar.

Correct Answer:

verifed

Verified

Methods that set or change field values ...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions