A method that is marked @deprecated causes the compiler to issue a warning if it is used.

  • 若将一个方法标记为deprecated,则使用该方法时会收到编译器的警告。
目录 查词历史