05 Activity 1 (Oob)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

public static void main(String[] args) {

Student s1 = new Student();


System.out.println(s1.name + ", " + s1.age);
s1.name = "Mariel Albao";
s1.age = 20;
System.out.println(s1.name + ", " + s1.age);
Student s2 = new Student("Kim Taehyung", 25);
System.out.println(s2.name + ", "+ s2.age);
}
}

You might also like