Could someone clear up these questions about deprecation?

1) If a method is deprecated, does that mean that a newer Java Vertual
Machine cannot run deprecated *.class file?

2) If you compile a java program and you get the deprecated message, how
do you know what methods to replace the deprecated methods with?

-For example, when I compile the DbConnectionBroker.java program form
www.javaexchange.com I get the message " constructor java.io.PrintStream
has been deprecated" & "method java.lang.String.toLocaleString has been
deprecated". How do I know what to replace these with?

Tom K.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to