not be defined in later API libs and cause a compile error? or it means the method will not work in the later runtimes and cause exception? or both?
First, but it doesn't have to be next release
It depends as said. The huge difference is about what that code is a part of. If it's java core method can be deprecated for years and will never be removed because that can break some old software. 3rd party libs do the same usually, deprecated means there is a new method and you shouldn't use old one.
Обсуждают сегодня