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 |
Why convert an applet to an application?
i don't want fullforms of JDK an JVM i want definitions for them
When does an object becomes eligible for garbage collection in java?
What is var keyword ?
What is use of inner class in java?
Can we increase array size dynamically in java?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is boolean logic?
Can I import same package/class twice?
what is platform independence in java?
How to compare two strings in java program?
What is the list interface in java programming?