Thank you.
Type: Posts; User: prasanna1157
Thank you.
Thank you for persisting with me. I've copied here the text I don't understand.
"Dynamic method dispatch is the mechanism
by which a call to an overridden method is resolved at run time, rather...
Thank you for the response. This is very helpful. I get the point about the class being generic. I think I didn't word the 2nd part of my previous question properly.
When we use a reference...
ok, thank you. I get the point now, but I am confused as to what exactly happens when we do this (Object o = new Rectangle()). What does the program understand when we say this? And, what advantage...
Hello,
The following code doesn't compile because it says "method area()" not found when called with the object reference "o". If every class in Java is a subclass of the Object class, why is this...