+ 1

default package in java

What does the above statement mean? "When a package name is not specified, the classes are defined into the default package (the current working directory) and the package itself is given no name. That is why, you were able to execute assignments earlier."

21st Jun 2018, 10:46 PM
harshit
harshit - avatar
1 ответ
0
That means you didn't create new packages for your classes and you wrote your code in default one.
24th Jun 2018, 12:51 AM
Lstiti