View Full Version : beginning Servlet help
02-16-2004, 09:46 PM
What does it mean exactly when somone says
"this method overrides another method?"
always wondered that . :)
02-17-2004, 06:51 AM
Well in Java you can override methods as a part of it's polymorphism capabilities.
Basically what that means is let's say there is a class that does almost everything you need it to do but one method just does not quite work the way you need it. You can override that method and essentially extend that class and redefine that method in your own class.
You will hear this term usually associated with method overloading. Both method overloading and method overriding are parts of the polymorphism capability of Java.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.