is there any possibility to access java-classes in the default-package?

1 Like

You can’t use classes in the default package from a named package.

 if we want to access the class from the packages we have to import the classes into over program

 

            import package-name.class-name;