Java import statement syntax

Viewed 30616

This is a simple question, but I am really bugged by it. I was trying to find a duplicate, and googled it, but I was more surprised when I couldn't find a satisfying answer.

import java.util.Scanner; 

In this statement .Scanner is the class,

.util is the name of the package

What is java or javax or whatever would stand before the first period in general?

UPDATE:

I also found this picture:

http://www.javatpoint.com/package

Is it true?

7 Answers
Related