Java Object class and multiple inheritance -


this question has answer here:

it may very basic question didn't find answer far, asking here. default in java, every class extends object class far know. again how able extend other class multiple inheritance not possible in java. in advance.

a class can't have more 1 direct super-class, can have multiple ancestors.

for example, arraylist extends abstractlist extends abstractcollection extends object. though arraylist has 3 ancestors, has 1 direct super-class - abstractlist.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -