Computer Science, asked by Tamannadagar4206, 7 days ago

class Test {
protected int x, y;
}
public class MainClass {
public static void main(String[] args) {
Test t = new Test();
System.out.println(t.x + " " + t.y);
}
}
Select one:

Answers

Answered by ashwini29kk
1

Answer:

class Test {

protected int x, y;

}

public class MainClass {

public static void main(String[] args) {

Test t = new Test();

System.out.println(t.x + " " + t.y);

}

}

Similar questions