|
Java™ by example!
|
|
|
Warning: X has been deprecated
Your more likely to come across 1 or more deprecated methods in a package than an entire package/api having been deprecated. All it means is that the deprecated method used to be supported in previous versions of Java but is no longer. More often than not you can still use the method you just get a warning displayed when you compile the code. Using some deprecated methods however, like java.lang.System.getenv(String) will mean you can't build the code. They're usually deprecated for a decent reason though so its worth checking the API thats on the sun site or that you downloaded with the JDK to check why.
Further Information
Author of answer: Edgecrusher
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|