参见英文答案 > The constructor Date(…) is deprecated. What does it mean? (Java) 9个
很多线程都在谈论弃用的含义,但不是对方法意味着什么.有人可以解释一下吗?
解决方法:
A program element annotated @Deprecated is one that programmers are
discouraged from using, typically because it is dangerous, or because
a better alternative exists.
基本上,你仍然可以使用它,但有一个更安全的&现在更好的方法.