0
what is the use of packages?
6 Respuestas
+ 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.
+ 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
+ 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
0
what about the packages that we create not built in?
0
it helps you to keep your classes ordered.
it gets very important when you have 20+ classes in 1 project
0
thanks to all of you. i got it