I'm learning Java language. A little confused about the modifier.
Sometimes I saw method inside a class with no modifier, like this for example:
public class example0{       
    void example1(){
        System.out.println();
    }
}
Normally there is modifier like public or private in front of void in the method to set visibility.
Why sometimes there`s no modifier in front the method like the example above?
What is that mean compare to the one with public or private?
 
     
     
     
    