Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

following simple java questions :)

Thread view: 
Thomas - 12 Jul 2007 19:55 GMT
As now I have to use the class Stack and use it for a class Symbols. The
thing is, the class Synbol is defined in other package, so I get
unrecognized symbol 'Symbol'. ;). What are solutions to this ? Should I use
more generall type in Stack like Object (since every class inheriths from
it) ?
Are there any solution like 'C'-style headers  or similar to let know class
Stack where the class Symbol is defined  ?
Joshua Cranmer - 12 Jul 2007 22:31 GMT
> As now I have to use the class Stack and use it for a class Symbols. The
> thing is, the class Synbol is defined in other package, so I get
[quoted text clipped - 3 lines]
> Are there any solution like 'C'-style headers  or similar to let know
> class Stack where the class Symbol is defined  ?

import /package/.Symbol;


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.