Originally posted by Ivey Zhang:
I am confused about this.
Since it's said stop() has deprecated in Java2, can we still use it?
Hi Ivey,
yes you may use it but it's strongly recommended not to do so. The reason is that there are new methods which are supposed to be "better" in whatever way. Anyway, most developing suites reject deprecated methods (i.e. in fact you can't use them). As for the jdk1.3 you can type "javac -deprecation <filename>.java" and it compiles all right. If you use deprecated methods, however,
you should really know what you're doing especially when multithreading is concerned.