Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What is “import” in Java?
- it's a declaration, not a statement
- import is a keyword. import keyword is used to import built-in and user-defined packages into your java source file so that your class can refer to a class that is in another package by directly using its name.
- Use the '*' character to declare all the classes belonging to the package.
- https://www.quora.com/Why-we-use-import-in-Java
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement