Example
public class
ClassA
{
private int
num = 0;
public int
number() {
return
num;
}
}
Solution
Prepend the string 'get' to the name of the method.
public class
ClassA
{
private int
num = 0;
public int
getNumber() {
return
num;
}
}