This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Package;" Watch "Package;" New topic


Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732

The following code working fine:

but when am trying to:

then its throwing following error:

I did import;

Thanks in anticipation

Best regards
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

Are you sure that you imported correctly in

If yes, then can you show us the complete content of

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Oops! there is spelling mistake

Thanks a lot for pointing
It is sorta covered in the JavaRanch Style Guide.
subject: Package;
Similar Threads
package javax.servlet.annotation does not exist
175: warning: BASE64Encoder is internal proprietary API and m ay be removed in a future release
Sending class file through a network
More problems with file uploads
Encoding XML file using Base64Encoder