Question 22 What will be displayed after the following statements are executed? int x - 65; int y - 55; if (x - y) int a
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 22 What will be displayed after the following statements are executed? int x - 65; int y - 55; if (x - y) int a
Question 22 What will be displayed after the following statements are executed? int x - 65; int y - 55; if (x - y) int ans x + y; 1 System.out.println (ans); O 10 O 100 0 120 The code contains an error and will not compile.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!