摘要:
package exercise; import java.util.Scanner; public class Exe1 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner in 阅读全文
摘要:
//获取单个字符 Scanner input = new Scanner("System.in"); String operate = input.next(); char c = operate.charAt(0); //判断字符串是否相同 .equals()方法 与 “==” if(sex.eq 阅读全文