What Is The Meaning Of 'Depricated' In Java?

4

4 Answers

amber Jhon Profile
amber Jhon answered
Basically most of the new users in Java are not aware of the term "Deprecated" in Java. In Java it is used in the context of API documents and the meaning of the deprecated in Java is "sort of obsolete". If a method is javadoc'd or interpreted as deprecated then it depicts that at some point it may disappear from API. However, actually it does not disappear and it is still there for some time. In fact it is the indication of what the preferred replacement is. Therefore, if you are a new user of Java then do not use deprecated in any code. If you use it then at some point you need to rework on it.
aman mishra Profile
aman mishra answered
Some Methods which are not using in updated version in java.let us suppose java 1.3 some methods are not using in java 1.4 so we can say this method which was available in java 1.3 now it is depricated in java 1.4.
Anonymous Profile
Anonymous answered

depricated means

Florio Potter Profile
Florio Potter answered

According to the Java Documentation: A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists. Similarly, when a class or method is deprecated, it means that the class or method is no longer considered important. It is so unimportant, in fact, that it should no longer be used at all, as it might well cease to exist in the future.

For more information get help at

CodeAvail- Online Computer Science Assignment
help

Answer Question

Anonymous