The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

another java question by fireballmatt2003-04-17 14:44:40
  Hmm... by diGriz2003-04-17 14:52:18
    I've got it separate by fireballmatt2003-04-17 14:58:40
      Then you'll need to tell the compiler... by diGriz 2003-04-17 15:05:29
where to find the class files (IIRC argument "-cp <libraryOrDirectory>").

Again, the import statement helps you to cut down typing. Usually you have to reference a class by its complete path (java.lang.String, javax.swing.JButton etc). If you import a class you don't have to type the complete path, except the name isn't unique.
[ Reply ]
        so if ive got by fireballmatt2003-04-17 15:09:10
          If the compiler knows where to find... by diGriz2003-04-17 15:13:47
            yeah, make sure the directory that its in by friareriner2003-04-17 15:56:00

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)