3 Given H D and I below what printed aner encecuting the code point Answer class
ID: 3781696 • Letter: 3
Question
3 Given H D and I below what printed aner encecuting the code point Answer class E int age 17, private protected float amount 35 string to String return "E" i public int get Age return age; public void update Amount (float f) amount public void update Age (int i) age ii class D extends E public D updateAmount (28) public string tostring0 f return "D: (amount get Age class C extends D public C f updateAge (19) public String to String f return "C: (amount getAge lic class B public B ew C new D System. out.println (c) System. out. println (d);Explanation / Answer
Outputs:
3)after executing the statement B b = new B();
C: 47.0
D: 45.0
7) for first input it goes to infinite loop.
for second input it prints
n=1
Good bye 7
for game problem it prints:
1X11
11X1
111X
X111
2)output:
hi how are you
how123abc456789thank you
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.