How do I create packages in java?
In Java you can make packages by adding the package name to the top of the classes which are included in the package. In order to add the package name simply use
package packagename. You can then compile the classes and your package should be created. Import the package name with the name of the class to use it in another class. You’d have to use
A post was split to a new topic: I’m having trouble with the prompt function