June 2018
Beginner
722 pages
18h 47m
English
So, here is a surprise. Each Java class, by default (without an explicit declaration), extends the class Object. To be precise, it is java.lang.Object, but we have not introduced packages yet and will only be talking about them in Chapter 7, Packages and Accessibility (Visibility).
All Java objects inherit all the methods from it. There are ten of them:
Let's briefly visit each of these methods.
Before we do that, we would like to mention that y
Read now
Unlock full access