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 |
How are destructors defined in java?
What is meant by packages?
What is class forname used for?
What do you understand by the term wrapper classes?
What is a super class and how super class be called?
why doesn't java run on all platforms?
Can we override protected method in java?
If two threads call a static method at the same point of time, what will happen?
whats is the use of final,in which situation final can be used in the application?
What is the purpose of a default constructor?
What is the purpose of checked and unchecked exceptions in JAVA?
Can we declare Pointer in Java?