SyntaxFix
Write A Post
Hire A Developer
Questions
It is not a compilation error at all! You can import a default package to a default package class only.
If you do so for another package, then it shall be a compilation error.