SET CLASSPATH



hi, i'm using the abstract class definition, and when compiling the abstract
class it's ok, but the problem is when compiling the subclass: i get the
following message:

Rect.java:9: cannot resolve symbol
symbol : class GeoFigure
location: class figures.Rect
public class Rect extends GeoFigure
^
1 error

the abstract class is called: GeoFigure;
and the subclass is Rect

so how cn use the set classpath at command line, should it include the
directory where are located all the package files(the abstract class and
subclass .java files), or should it point at onel evel before the directory
that contains the package files?
thank's!

--
SAID BARA


.



Relevant Pages

  • Re: simple event thread question
    ... I've been trying to sort out a bit of a framework for this sort of thing, ... In a nutshell, an abstract class ... The event is a subclass of EventObject, ... subclass of the task class, register listeners, and start the task. ...
    (comp.lang.java.programmer)
  • Re: What is/is not considered to be good OO programming
    ... > According to the principles of OO you are not supposed to instantiate ... > supposed to put the implementation details in a subclass. ... > allow) you will find it impossible to instantiate an abstract class ...
    (comp.lang.php)
  • Re: How about "pure virtual methods"?
    ... > Python doesn't use classes for typing. ... > your abstract class may get an instantiation of a class that doesn't ... assigned the title "a subclass of that class". ...
    (comp.lang.python)
  • Re: abstract classes and generic types
    ... abstract class contain common functionality for subclasses, ... void put ... signatures each time a new subclass is created. ...
    (comp.lang.java.programmer)
  • Re: Newbie Question
    ... > subclass, of an abstract class, that is itself a subclass of JPanel. ... > then when it is clicked to go to a listener in the Jframe. ... myButton is an ActionListener? ...
    (comp.lang.java.programmer)