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 finalize()? Is finalize() similar to a destructor?
what us Dyna action form?
4 Answers Aithent Technologies,
what is d difference between deep cloning and shallow cloning in core java?
What are the 8 data types in java?
Can an unreachable object become reachable again?
To set the position and size of a component, which methods are used?
How to sort an array in java without using sort method?
What are the wrapped, classes?
how many ways to create Thread and which one is good? runnable interface ot Thread class?
What is passing value java?
What is private protected in java?
What do you mean by local class?