摘要:
Object 类是一个特殊的类,是所有类的父类。它主要提供了以下 11 个方法: public final native Class<?> getClass()//native方法,用于返回当前运行时对象的Class对象,使用了final关键字修饰,故不允许子类重写。 public native i 阅读全文
摘要:
A:常见构造方法 * public String():空构造 * public String(byte[] bytes):把字节数组转成字符串 * public String(byte[] bytes,int index,int length):把字节数组的一部分转成字符串 * public Str 阅读全文