Consider the following method and main code: public class Te…
Consider the following method and main code: public class Test { public static int mystery(int n) { n += 5; return n; } public static void main(String[] args) { int a = 10; int b = mystery(a); int c = mystery(b); a = mystery(c); System.out.println(a); System.out.println(b); System.out.println(c); }}What is the output? _________
Read Details