Analyze the following code:
```
public class A extends B {
}
class B {
public B(String s) {
}
}```
a. The program has a compile error because A does not have a default constructor.
b. The program has a compile error because the default constructor of A invokes the default constructor of B, but B does not have a default constructor.
c. The program would compile fine if you add the following constructor into A: A(String s) { }
d. The program would compile fine if you add the following constructor into A: A(String s) { super(s); }
bd
You might also like to view...
The ____ handles computer crimes that are categorized as felonies.
A. FBI B. U.S. Secret Service C. U.S. Treasury Department D. Securities and Exchange Commission
The NULL statement is '\0';.
Answer the following statement true (T) or false (F)