摘要:
import java.io.FileNotFoundException; import java.io.PrintStream; public class RedirectOutputStream { public static void main(String[] args) { try { P 阅读全文
摘要:
import java.util.Scanner; public class Example { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("请 阅读全文
摘要:
public class InputCode { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); // 创建输入流扫描器 System.out.println("请输入你的身份证号: 阅读全文
摘要:
import java.util.Scanner; public class LeapYear { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println(“ 阅读全文