Java Coder
What is deprecated?
2 Answer(s)      4 years and 2 months ago
Posted in : Java Beginners

What is mean by deprecated element, method or class?


View Answers

December 18, 2012 at 12:57 PM

What is deprecated?

Deprecated means condemned. A object or element, which is either changed or not approved. In Java if any method or class is showing a deprecated message that means it is either outdated or has been changed. You must look up for the new way of declaring it. But if you still want to use the old way of declaration then, declare the "@Depricated" before the method declaration.

December 18, 2012 at 12:58 PM