private static void staticMethod() {
System.out.println("static method");
}
Is there a difference between calling a static method like:
without class name
staticMethod();
Type: Posts; User: jenniferruurs
private static void staticMethod() {
System.out.println("static method");
}
Is there a difference between calling a static method like:
without class name
staticMethod();