A deprecated API is one that you are no longer recommended touse, due to changes in the API. While deprecated classes, methods,and fields are still implemented, they may be removed in futureimplementations, so you should not use them in new code, and ifpossible rewrite old code not to use them.