Stats

1510 Contributors: 45 Thursday, May 25, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap
Download eBook

Object Class Methods and Constructor

Download java eBook

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

Related Examples