爱你到天荒地老
package com.keafmd.love; /** * Keafmd * * @ClassName: Love * @Description: 爱你到天荒地老 * @author: 牛哄哄的柯南 * @date: 2021-02-14 22:58 */ public class Love { public static void main(String[] args) { World world = new World(); while(!world.isDestroy()){ System.out.println("zhl love wl"); } } } class World{ private boolean destroy = false; public boolean isDestroy() { return destroy; } }