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 does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is inheritance?
5 Answers Accenture, Hexaware, Syntel,
What is Locale class?
What is Java Package and which package is imported by default?
What is matcher in java?
What is a resource leak ?
difference between String a; and String a=new String();? y do v need to assign memory to the variable?
What are the basic concepts of OOPS in java?
0 Answers Axtria, ITC Indian Tobacco Company,
What are E and PI?
where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these?
What are autoboxing and unboxing? When does it occur?
What is java regex?