Answer to Question #316228 in Java | JSP | JSF for bhupendra

Question #316228

Predict the output of the following program?


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);


}


}

1
Expert's answer
2022-03-22T19:07:45-0400

The answer to your question is provided in the image:

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS