This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Java » Java in General
Bookmark "Package;" Watch "Package;" New topic


Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833

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: 14950

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 8 API documentation
Farakh khan
Ranch Hand

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

Thanks a lot for pointing
Have you checked out Aspose?
subject: Package;
It's not a secret anymore!