2. class A{
{System.out.print("b1 ");}
public A{System.out.print("b1 ");}
}
ok
class B extends A{
static (System.out.print("r1 ");}
public B{System.out.print("r2 ");}
{System.out.print("r3 ");}
static (System.out.print("r4");}
}
class C extends B{
public static void main(String args[]){
System.out.print("pre");}
new cO;
System.out.print("C");
1
Answers
Answered by
0
Answer:
print("b1 ");} } ok class B extends A{ static (System.out.print("r1 ");} public B{System.out ...
Similar questions
Environmental Sciences,
1 month ago
Math,
2 months ago
Math,
2 months ago
Geography,
9 months ago
Math,
9 months ago