使用String.equalsIgnoreCase()方法这是最直接、最常用的方法,专门用于不区分大小写的字符串比较,语法booleanequalsIgnoreCase(StringanotherString)特点不区分大小写:"H...