What is deprecated?

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









Related Tutorials/Questions & Answers:
Advertisements