public interface class java.lang
Deprecated


Show All Login
Java SE 6
  
Implements: Annotation
@Documented
@Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME)
Details
A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists. Compilers warn when a deprecated program element is used or overridden in non-deprecated code.
version1.5, 11/17/05
since1.5