< prev index next >

src/java.base/share/classes/java/lang/Object.java

Print this page

        

@@ -40,10 +40,15 @@
     static {
         registerNatives();
     }
 
     /**
+     * Constructs a new object.
+     */
+    public Object() {}
+
+    /**
      * Returns the runtime class of this {@code Object}. The returned
      * {@code Class} object is the object that is locked by {@code
      * static synchronized} methods of the represented class.
      *
      * <p><b>The actual result type is {@code Class<? extends |X|>}
< prev index next >