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

What is the output of the following code?

class Student3 {
    int id;
    String name;

    void display() {
        System.out.println(id + " " + name);
    }

    public static void main(String args[]) {
        // creating objects
        Student3 s1 = new Student3();
        s1.display();
    }
}