How to deprecate a method?
Show it with proper example.
Plz give the answer of this.Thanx in advance.
mail me: tanzeem.akhtar@gmail.com
Answers were Sorted based on User's Feedback
Answer / ravikiran
we cann't depricate a method.
Sun while introduces a new verion of release if similar
functionality method is about to introduce with less error
prone then they will depricatethe previous version's method
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / aslam
/**
* @deprecated
*
*/
public void depricatedMethod(){
}
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the meaning of java.lang and java.util
Why chararray() is preferred over string to store the password?
What is dynamic binding?
Why arraylist is used in java?
What are multiple inheritances?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is preflight request?
What is the difference between static and non-static variables?
Can we able to pass objects as an arguments in java?
How do you load an HTML page from an Applet ?
What is the use of generics? When was it added to the Java development Kit?
Is math an abstract class in java?