My question is How to write a program to implement concept of creating user defined packages and importing the same?
please tell me how to solve it.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
My question is How to write a program to implement concept of creating user defined packages and importing the same?
please tell me how to solve it.
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
What you're asking, the "concept of creating user defined packages," doesn't make sense. Can you describe what you mean by that or what you're trying to do in plain words? What will the user be able to do?
You are using Eclipse IDE ? Right click on that src folder and create your own packages..If that does not answer your question then probably I am not getting your question ?
vishvaD (September 1st, 2014)
Start here: Creating and Using Packages (The Java™ Tutorials > Learning the Java Language > Packages)
Then come back with specific questions.
this means that "programe build in our own different packages"
because this question is my assignment for java and my teacher told me to create your own packages..........................................
that's it.....so please ...............
--- Update ---
hiiiiiiiiii
Your teacher must have instructed you in some manner. What have you tried? You need to show us that your are actually attempting to do the work here. This forum will not do your homework for you.
The link I provided covers /everything/ your homework requires.
Show some effort and we can keep giving you pushes in the right direction.
[EDIT]
Heck, you could even do a web search for "example of package and import in Java", copied those results here, and most wouldn't even notice. http://bit.ly/1vIrtYh
The key to getting others to do your homework is to look busy.
Last edited by jdv; September 2nd, 2014 at 08:28 AM.