This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes  Package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark " Package" Watch " Package" New topic


Rehan Sheikh

Joined: Jul 09, 2001
Posts: 2
Hello Dear!
Please any body tell me that how can compile SavitchIn file in package.
I shall be thank full to you.
Steve Barnacle

Joined: Jul 08, 2001
Posts: 11
Your question needs some elaboration, possibly try including your code.
Maybe your trying to compile a class file (no main method), try using a test file to call either constructor or methods of the class your trying to compile, compiling the test program will then in turn compile the package program.(although admittedly i'm only a greeeeeenhorn!).
It is sorta covered in the JavaRanch Style Guide.
subject: Package
It's not a secret anymore!