摘要:
1、访问修饰符 权限: 包外 子类 包内 类内 public yes yes yes yes protected no yes yes yes default no no yes yes private no no no yes 注意:同一包中,default子类可以被访问。 2、static使用 阅读全文
摘要:
1.1、字节与字符串相互转换 |-字节-->String:public String(byte[] bytes) 范例:字节-->字符串 public class Demo1 { public static void main(String[] args) { String str="hello w 阅读全文