What will be the output of the following code?interface Test {int x = 10;}public class MyClass implements Test{public void temp() {x = 20;System.out.println(x);}public static void main(String[] args) {MyClass m = new MyClass();m.temp();}}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here