You no longer need a default constructor in Gadget since you don't call it. But earlier you should have received an error message when you invoked super() in the Phone class.
Here is an example:...
Type: Posts; User: jim829
You no longer need a default constructor in Gadget since you don't call it. But earlier you should have received an error message when you invoked super() in the Phone class.
Here is an example:...
Ok. I am confused about something. You should have also gotten the error.
The constructor gadget() is undefined.
When you invoked super() in the subclass, Phone, the default gadget()...
There are several problems in your code but you need to learn to figure them out. The first hint is it doesn't compile which means it must have a compilation error message. What does it say? Paste...