[HD Pg 204, Sec. 8.4.4 - applying-access-modifiers-to-members-of-an-enum]
Posted: Wed Feb 13, 2019 7:40 pm
What happens if in an enum
private int value;
public void count(){
}
are changed to
int value;
void count(){
}
Are they treated as package private, like in a class?
private int value;
public void count(){
}
are changed to
int value;
void count(){
}
Are they treated as package private, like in a class?