INTERVIEW QUESTIONS
J2EE
J2SE
DETAILS
Question: What is deprecation ?
Answer: Refers to a class, interface, constructor, method or field that is no longer recommended, and may cease to exist in a future version.
|
Question:
What is deprecation ?
Answer:
Refers to a class, interface, constructor, method or field that is no longer recommended, and may cease to exist in a future version. Source: CoolInterview.com
-deprication is used as option with commands in java to describe the class, interface, constructor, method or field that has been changed in this version for ex javac is used as follows javac [options] file name.java at the place of option we can use -depreciation as follows javac -deprecation filename.java if we not use this option then copiler will tell the class in which deprecation has been arises and says to recompile with with -deprecation after recompiling the same it fully describe the class, interface, constructor, method or field that has been deprecated and then we should use newer version... Source: CoolInterview.com
Answered by: mukesh | Date: 3/31/2010
| Contact mukesh
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|