Why do I get `package name` in the top of the page whenever I try to create a java class?

I have written some codes in the past using Eclipse but it had no package name like this. I am just wondering why? 

You can see the following.

[![enter image description here](https://i.stack.imgur.com/1ZiMS.png)](https://i.stack.imgur.com/1ZiMS.png)