日期:2014-05-20 浏览次数:20713 次
import java.util.*; public class helloaccp{ public static void main(String[] args){ String cc; Scanner input = new Scanner(System.in); System.out.println("输入用户名:"); //asdasdsada cc = input.next(); System.out.println("输入密码:"); int dd = input.nextInt(); if (cc=="啊" && dd==123) { System.out.println("好,你是"); } else System.out.println("get out~"); } }