Computer Science, asked by n6261331707, 5 months ago

what will be the output of the following DEN (java programming) ​

Answers

Answered by sd11thanavjotkaur
0

Answer:

Predict the output of following Java Programs.

Program 1

// filename Main.java

class Test {

    protected int x, y;

}

  

class Main {

    public static void main(String args[]) {

        Test t = new Test();

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

    }

}

Output

0 0

Answered by aastha1xxx
0

Answer:

sorry idk the answer u can search it on google

Similar questions