Can't access Classes in default package [message #654193] |
Mon, 14 February 2011 14:46 |
No real name Messages: 1 Registered: February 2011 |
Junior Member |
|
|
Hi,
I have a problem with the default package.
Basically my project structure consists of three main classes which extend one abstract class in a package called simulation.
Yesterday I did a name change in the project and now my three main classes are put automatically in the default package, so they can't be visible by the class inside the simulation package and vice versa.
For the following code
import simulation.*;
class SSQSim extends Simulation{
}
I get these errors
"This class must implement the inherited abstract method Simulation.stop(), but cannot override it since it is not visible from SSQSim. Either make the type abstract or make the inherited method visible"
"The type Simulation is not visible"
Thank you in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.07690 seconds