🎯 1. Why Learn Object Class Methods?

Because EVERY class in Java automatically inherits from Object class.

So these methods:

✔ work on all objects

✔ are used everywhere in APIs

✔ are crucial for debugging, comparison, hashing, collections


🌍 2. What is Object Class?

The parent of all Java classes.

Everything indirectly extends Object.

This means methods like:

are available in every class — even if you never write them.


3. toString() – Convert Object to String

✔ Purpose: to give readable object information

When you print an object:

System.out.println(obj);