Let's say we have package
a
and package
b
, both have many classes, all public
.
Now class Cat
from package
a
wants to extend class Animal
from package
b
, is this inheritance legal?
Let's say we have package
a
and package
b
, both have many classes, all public
.
Now class Cat
from package
a
wants to extend class Animal
from package
b
, is this inheritance legal?