77.9k views
3 votes
Java Question: What is printed as a result of executing the code segment?

Java Question: What is printed as a result of executing the code segment?-example-1
User Tsounabe
by
3.1k points

1 Answer

0 votes

The answer should be
7.

Java Question: What is printed as a result of executing the code segment?-example-1
User Ty Petrice
by
3.5k points