+ 1
anyone explain package with exmple
2 Antworten
+ 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!
+ 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 :)