الرجوع
تسجيل الدخول

If a method is declared with no access modifier, where can it be accessed from?

class Test {
    void display() {
        System.out.println("Hello, world!");
    }
}