Packages - Creating Packages
MyClass.java
Let's come back to MyClass and give it a simple constructor, field, and method:
Main.java
Now, let's create another Java file in the main project folder to use MyClass. We'll call this file Main.java, and we'll keep it in the default package:
ByteBrawl
0