|
-
December 27th, 2012, 11:01 PM
#4
Re: import package
Firstly, you have to include jar file that containing your pakage in your project. In Eclipse is setting build path.
Then is using import statement to import the needed class.
By the way, I recommened that you shouldn't import like that : import package_example.*
Should importing exactly what classes you need, e.g : import package_example.Class_A;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|