Java Language Object Class Methods and Constructor

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

This documentation page is for showing details with example about java class constructors and about Object Class Methods which are automatically inherited from the superclass Object of any newly created class.

Syntax

  • public final native Class<?> getClass()
  • public final native void notify()
  • public final native void notifyAll()
  • public final native void wait(long timeout) throws InterruptedException
  • public final void wait() throws InterruptedException
  • public final void wait(long timeout, int nanos) throws InterruptedException
  • public native int hashCode()
  • public boolean equals(Object obj)
  • public String toString()
  • protected native Object clone() throws CloneNotSupportedException
  • protected void finalize() throws Throwable


Got any Java Language Question?