public class Parent { private int value = 100; public int getValue() { return value; } } public class Child extends Parent { private int value; public Child(int number) { value = number; } public int getValue() { return value; } }

Relax

Respuesta :

The answer & explanation for this question is given in the attachment below.

Ver imagen ammary456