No You can’t create a class without a package . “A Package” itself is the directory of all the classes. Doesn’t matter if you import it or not. It also has default packages.
No You can’t create a class without a package . “A Package” itself is the directory of all the classes. Doesn’t matter if you import it or not. It also has default packages.