0

how do we run package in java?

do i have to create new folder? do i have to open new notepad to create the next code? or just do the code in same program?

19th Feb 2017, 2:17 PM
Adzreel Zeequanil Martadam
Adzreel Zeequanil Martadam - avatar
1 Resposta
0
never tried to do it from notepad++. id highly recommend getting eclipse if you dont have it. in eclipse: under a project, right click, select new > package. give it a name press enter under the package, create classes. note that all classes you make under this will have package pName; at the top. it will allow that class to have access to any other classes within the package. this is referred to as a module. I believe.
19th Feb 2017, 4:20 PM
Michael Szczepanski
Michael Szczepanski - avatar