- private static native void registerNatives()
- protected native Object clone() throws CloneNotSupportedException
- public final native Class <?> getClass()
- public boolean equals(Object obj)
- public native int hashCode()
- public String toString()
- public final native void notify()
- public final native void notifyAll()
- public final native void wait(long timeout) throws InterruptedException
- public final void wait(long timeout, int nanos) throws InterruptedException
- public final void wait() throws InterruptedException
- protected void finalize() throws Throwable
打开类Object查看源码:
1 . 查看这个代码之后,首先自己感到的第一个困惑是 java中的native关键字有什么作用&#