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..
July 2nd 19 at 17:01
1 answer
July 2nd 19 at 17:03
you do not have a package Declaration. before imports.
For example, package com.example

Find more questions by tags Java