Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advan..

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

How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advan..

Answer / aslam

/**
* @deprecated
*
*/
public void depricatedMethod(){

}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Difference between start() and run() method of thread class?

0 Answers  


What is arguments in java?

0 Answers  


What are the 5 types of research methods?

0 Answers  


What is string builder in java?

0 Answers  


What is boolean data type in java?

0 Answers  


What is vector capacity in java?

0 Answers  


What are the names of Component subclasses that support painting?

1 Answers  


What is a values collection view ?

0 Answers  


justify c is portable

1 Answers  


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(); }

8 Answers   Logica CMG,


What is preparedstatement in java?

0 Answers  


What are variable names?

0 Answers  


Categories