How do I import a class I wrote in a different file? All my classes are under the same package.
If all of your classes are in the same package, you shouldn’t need to import them.
Simply instantiate the object like so:
CustomObject myObject = new CustomObject();