0

A simple question about class and extends??

In inheritanve in java, every class must be in a file class diferents to run? Because when the class and extends are on the same page, the program don't run? Someone can help? example: if i had super class animal and a subclass cat, both will run on the same page of IDE or one class must be in your onw page?

20th Jul 2017, 10:50 PM
Marlon Wilson
3 Antworten
+ 1
I don't understand your question. Can you give an example?
21st Jul 2017, 12:34 AM
Rrestoring faith
Rrestoring faith - avatar