[HD-OCP17/21-Fundamentals Pg 186, Sec. 7.1.4 - applying-access-modifiers-to-members-of-an-enum]
Posted: Sat Sep 21, 2024 10:13 am
hello
don't you forgot to mention here
private int value; //enum field can be public, private or protected
public void count(){ //enum method can be public, private or protected
that they also can be default?
don't you forgot to mention here
private int value; //enum field can be public, private or protected
public void count(){ //enum method can be public, private or protected
that they also can be default?