What will be the output of the following code?public class Test {final int x = 30;public static void main(String[] args){final int i = 20;final int x;Test t = new Test();x = 20;System.out.println(x);System.out.println(t.x);System.out.println(t.temp(i));}int temp(int y){return y + 5;}}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here