Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an "import" called?

It is not a statement nor an expression.

What is that called then? A directive?

like image 662
OscarRyz Avatar asked May 05 '10 15:05

OscarRyz


2 Answers

"declaration"

See also

  • JLS 7.5. Import Declaration
    • 7.5.1 Single-Type-Import Declaration
    • 7.5.2 Type-Import-on-Demand Declaration
    • 7.5.3 Single Static Import Declaration
    • 7.5.4 Static-Import-on-Demand Declaration
like image 54
polygenelubricants Avatar answered Sep 18 '22 17:09

polygenelubricants


It's called a Declaration.

like image 20
SLaks Avatar answered Sep 21 '22 17:09

SLaks