This discussion is archived
5 Replies Latest reply: Nov 15, 2011 1:42 AM by gimbal2 RSS

Why do we need to import 'java.lang.annotation' ?

893787 Newbie
Currently Being Moderated
Hi All,
Since java.lang.* is the default package for all java file, Why do we need to import 'java.lang.annotation' separately?


Thanks in advance..

Regards
Karthikeya V

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points