What is the result? Given: What is the result? Given: What is the result? A. 10 : 22 : 20 B. 10 : 22 : 22 C. 10 : 22 : 6 D. 10 : 30 : 6 Explanation: Show Hint ← Previous question Next question →
Ryan Ques… public class App { public static void main(String[] args) { int i = 10; int j = 20; int k = j += i / 5; System.out.print(i + ” : ” + j + ” : ” + k); } } Answer… B Reply
Ques…
public class App {
public static void main(String[] args) {
int i = 10;
int j = 20;
int k = j += i / 5;
System.out.print(i + ” : ” + j + ” : ” + k);
}
}
Answer…
B
Answer: B