Question: with computer series solve it plz Question 6 What will be the output of the following Java code? Not yet answered class A Marked out

Question 6 What will be the output of the following Java code? Not yet answered class A Marked out of 100 { p Flag question public int i; protected intj; } class B extends A { intj: void display { super.j = 3; System.out.println(i +""+ ); 3 } class Output public static void main(String args() { B obj = new BO; obj.i-1; obj.j-2; obj.displayo; } } Select one: a. 12 b.21 c.13 d. 31
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
