Character tmp = '/'; if("/".equals(tmp)){ System.out.print("error"); } if("/".equals(tmp.toString())){ System.out.print("true"); }
Powered by: 博客园 Copyright © 2024 huhuuu Powered by .NET 9.0 on Kubernetes