资讯
System. out. println (s. length ()); } The difference is clear: No redundant casting: The variable s is ready to use as a String. Cleaner logic: Combines type-checking and assignment in one line.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果