Originally posted by Shaan patil: ...The class in D.java extends p1 package class A class in A.java file(as p1.A)...
Are you sure you're extending D "as p1.A" (that is, class D extends p1.A)? Or are you just extending A (that is, class D extends A)?
If you are not providing the qualified name (p1.A) and you don't have an import statement (import p1.*; or import p1.A;), then you will get the error "cannot find symbol" for class A. [ January 04, 2008: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Joined: Dec 22, 2007
Ya I am sure I have extended the full qualified name and used import statements also .
How are you specifying your classpath? Is it in the command line? Or have you set a system variable? If you set a system variable, try it in the command line (as I did above), and this will tell you if something is wrong with your system variable.