摘要:
1.枚举类的理解:类的对象只有有限个,确定的 2.当需要定义一组常量时,强烈建议使用枚举类 3.如果枚举类中只有一个对象,则可以作为单例模式的实现方式 package com.klvchen.java; public class SeasonTest1 { public static void ma 阅读全文
摘要:
cd vi .bashrc # 在最后添加 alias shutdown='echo '\''Please contact the root'\''' alias reboot='echo '\''Please contact the root'\''' alias init='echo '\''P 阅读全文