Playing Compiler—Constructors
Explain why the following classes do not compile.
public class Papa { protected int x; public Papa(int y) { x = y; } } public class Son extends Papa { public Son() { } public static void main(String[] args) { }}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.