✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
1 ...
2 class A {
3 int a, b;
4 void sum () {
5 System.out.print (a + b);
6}
7}
8 class B extends A {
9 int c, d;
10 B (int b1, int b2) {
11 super ();
12 c = b1;
13 d = b2;
14}
15 void sum () {
16 System.out.print (c + d);
17}
18}