What do you mean missing package statement?

Can anyone tell me what could be the problem ?
Use IDEA .. When you compile the project does not throw any errors! (Make Project in IDEA)
Did copy paste of the whole class instead of the old code started to get this error..
362538a070c5479e9c69e90d6713da55.png
July 2nd 19 at 17:01
1 answer
July 2nd 19 at 17:03
Solution
you do not have a package Declaration. before imports.
For example, package com.example

Find more questions by tags Java