Consider the following code, which output is correct?
public class Student{
int age;
static int age2 = 3;
public static void main (String[] args){
Student student1;
Student student2;
Student student3;
student1 = new Student();
student1.age = 10;
student2 = student1;
student2.age -=5;
student 3 = new Student();
System.out.println(student1.age+:""+student2.age);
}
}
Selecione uma das seguintes: