what is the use of packages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the use of packages?

27th Jul 2016, 5:07 PM
Nermeen Ahmed
Nermeen Ahmed - avatar
6 Answers
+ 3
packages are inbuilt libraries.All functions are predefined so only you need import them which reduces the programmer time saving and easy to built.
27th Jul 2016, 5:21 PM
Manikanth Vanka
Manikanth Vanka - avatar
+ 2
package is a folder that helps you store your java fills according to there functionality eg if you're working on and application and you have a database you database class will all go to a separate package and gui will go to another package
27th Jul 2016, 8:38 PM
Paul Bereobong Clement
Paul Bereobong Clement - avatar
+ 2
you can go and create or else you can import them..to create use the syntax package packagename; Use Eclipse you will understand nore
28th Jul 2016, 2:18 AM
Manikanth Vanka
Manikanth Vanka - avatar
0
what about the packages that we create not built in?
27th Jul 2016, 5:39 PM
Nermeen Ahmed
Nermeen Ahmed - avatar
0
it helps you to keep your classes ordered. it gets very important when you have 20+ classes in 1 project
27th Jul 2016, 5:51 PM
No One
No One - avatar
0
thanks to all of you. i got it
27th Jul 2016, 10:13 PM
Nermeen Ahmed
Nermeen Ahmed - avatar