✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
1 package newpack;
2 class A {
3 int a, b;
4 void sum () {
5 System.out.print (a + b);
6}
7}
8 class B extends A {
9 ...
10}
11 ...