ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
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
 Question Submitted By :: Tanzeem.akhtar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
Answer
# 1
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 ?    2 Yes 1 No
Ravikiran
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Howmany classes that package java.applet.* contains? TCS1
class A{ class B{ } } in which name u save the file,its the program compile? HCL6
Difference between abstract class and Interfaces? Sai-Softech5
Name the packages in JDK?  2
static inner classes means..?  1
What is the difference between a public and a non-public class?  2
Java support what type of parameter passing ? Wipro6
how to print output with out using sop statements UHG3
What is an Applet ?  2
suppose string s1="rajnish"; string s2="bhaskar"; then what will be happend ? Fidelity6
When is an object in the mean to garbage collection?  3
What is the top class of AWT event hierarchy?  5
Can a for statement loop indefinitely?  3
How are this() and super() used with constructors?  4
What is the purpose of setAutoCommit() ? Google1
what is the use of private constructor in core java? Satyam3
Can u write constructor in abstract.If yes den when it will be invoked. SunGard3
How do you compare two strings? any predefined method for this?  2
what is difference between Action messages and Action errors? TCS1
what is Inheritense Tech-Mahindra1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com