The Object Class in Java
Learn The Object Class in Java (Advanced Java Concepts, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
1. Introduction The Object class is the root of all Java classes and provides toString , equals, hashCode , getClass , clone, wait and notify.
More lessons in Advanced Java Concepts
- Enums in Java
- Generics in Java
- Annotations in Java
- Reflection API
- Nested & Inner Classes
- Interfaces in Java
- equals() and hashCode() Contract
- Comparable vs Comparator
- Object Cloning
- try-with-resources
- Varargs in Java
- Instance and Static Initializer Blocks
- Custom Exceptions in Java
- Marker Interfaces in Java
- String Formatting in Java
- Immutable Classes in Java
- Multi-catch Block and the try-finally Return Trap