Results 1 to 5 of 5
Thread: import package
- 12-27-2012, 02:43 PM #1
Member
- Join Date
- Dec 2012
- Posts
- 3
- Rep Power
- 0
import package
Hello all
I am a student and I am new to Java. I have created a simple Java program. We have been given a package to import into the program we have developed. The classes of the package are stored in a folder called "pack" which is placed inside project folder called "tictactoe". The example program we were given imports the package as follows and it works fine.
import pack.*;
Is it that simple or do I need to do more.
It gives me the error "The import pack cannot be resolved"
Thanks
- 12-27-2012, 05:11 PM #2
Re: import package
Cross posted
import package
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-27-2012, 05:14 PM #3
Member
- Join Date
- Dec 2012
- Posts
- 3
- Rep Power
- 0
Re: import package
Yes but are these not two different websites?
- 12-27-2012, 05:20 PM #4
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,605
- Rep Power
- 5
Re: import package
Suggested reading: The problems with cross-posting
- 12-27-2012, 05:24 PM #5
Member
- Join Date
- Dec 2012
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Import and package
By Pojahn_M in forum New To JavaReplies: 32Last Post: 08-10-2011, 09:14 PM -
Import your own package
By Umi in forum New To JavaReplies: 4Last Post: 02-15-2010, 09:05 AM -
How to import a Java package?
By tyang in forum New To JavaReplies: 4Last Post: 02-06-2010, 09:14 PM -
How to import a package before it is compiled
By gradStudent in forum Advanced JavaReplies: 1Last Post: 08-11-2009, 12:17 AM -
How to import a package in Eclipse?
By naipulb in forum New To JavaReplies: 2Last Post: 06-09-2008, 11:04 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks