How any class extends Object. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

How any class extends Object.

If object class extend, how we are able to extend other class.

6th May 2017, 9:19 PM
Ramu Vurimi
Ramu Vurimi - avatar
7 Respostas
+ 16
@NimWing Valentine the cat says you are great
6th May 2017, 10:16 PM
ā€Žā€ā€Žā€ā€ŽJoe
ā€Žā€ā€Žā€ā€ŽJoe - avatar
+ 14
# Claudio Vidal : šŸ‘šŸ‘
6th May 2017, 10:09 PM
NimWing Yuan
NimWing Yuan - avatar
+ 13
# Claudio Vidal : I will also support you, allthough I am a small creature šŸˆ. #Joe : Thanks, Valentine the cat, I am great and you look lovely šŸ˜».
6th May 2017, 10:30 PM
NimWing Yuan
NimWing Yuan - avatar
+ 6
every class has Object as its superclass. it is extended implicitly, so it leaves room for you to explicitly extend up to one class
6th May 2017, 9:43 PM
Edward
+ 5
actually a class can extend another class example the class dog extends the class animal a class can be instantiate, example the object 'puppy' instantiate the class dog then puppy is a dog šŸ•
6th May 2017, 9:33 PM
ā©ā–¶Clauā—€āŖ
ā©ā–¶Clauā—€āŖ - avatar
+ 4
@nimwing yuan I support you !! šŸ˜ be happy!!!
6th May 2017, 10:12 PM
ā©ā–¶Clauā—€āŖ
ā©ā–¶Clauā—€āŖ - avatar
+ 3
@joe you are great too!!! šŸ˜
6th May 2017, 10:17 PM
ā©ā–¶Clauā—€āŖ
ā©ā–¶Clauā—€āŖ - avatar