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 |
Difference between start() and run() method of thread class?
What is arguments in java?
What are the 5 types of research methods?
What is string builder in java?
What is boolean data type in java?
What is vector capacity in java?
What are the names of Component subclasses that support painting?
What is a values collection view ?
justify c is portable
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }
What is preparedstatement in java?
What are variable names?