The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Difficult in accessing a puplic class in a same package to anther file

Posted by sivatheesan on December 16, 2000 at 2:35 AM

when I create a package in a lynux editor, I can put several files. But when I use a public class from one file to another in the same package ,compiler print message "class not found".But if the both files are in default package that is when no package name is given, compiler accept that.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us