what is the use of keyword import in java
Answers
Answered by
2
Answer:
Answer: 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.
Hope it helps you
plz mark me as a brainliest
Answered by
3
Answer:
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.
Similar questions