+ 1

anyone explain package with exmple

5th Aug 2016, 3:26 PM
Shyam sunder Reddy
Shyam sunder Reddy - avatar
2 Réponses
+ 3
Packages is where you put your classes to avoid any name conflicts! You can see packages as a group of classes that has some what something in commen! Exemple you can put every class that renders diffrent things in one package and call something like renderEngine because they all renderer!
5th Aug 2016, 5:43 PM
Aady Ahmed
Aady Ahmed - avatar
+ 2
a package is where all your classes are going to be. to do so: 1. open up eclipse 2. goto file on the top left 3. click new 4. click java project 5. name it 6. repeat but instead of java project goto class 7. name it 8. done and start your new program :)
5th Aug 2016, 3:44 PM
Aquarius
Aquarius - avatar