java.lang package in java

Viewed 412

Since java.lang package is automatically imported in all java programs by compiler, why is it necessary to write import java.lang.annotation; statement at the top of the program while using annotations in the program?

2 Answers
Related