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 hashing in java?
What is regex used for?
Can multiple catch statements be used in exceptions ?
What is parameter tag and what is its use?
what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!
7 Answers emc2, Kumaran Systems,
Explain reverse a linked list recursive java solution?
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p?
What is the difference between a Window and a Frame?
Are generics important java?
Enlist diffrent types of inheritance supported by java?
What is string data type?
how to create a jar file in java