I know you can have multiple constructors, for example:
public Game (int num, boolean truth) {
}
public Game (int num) {
this(num, false);
}
Can the same be done for getter methods? So I can have two parameters, but if the user only wants to use one, the other will automatically be filled in. Such as
public int wins (int num, boolean truth) {
return num*2;
}
public int wins (int num) {
this(num, false);
}