示例代码 package com.memory; /** * @author dc * @date 2020/6/28 - 17:57 */ public class MyTest5 { public static void main(String[] args) { while (true