File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Overloading and overriding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Overloading and overriding" Watch "Overloading and overriding" New topic
Author

Overloading and overriding

Arathi Raj
Ranch Hand

Joined: Nov 22, 2002
Posts: 90
Hi,

Can you tell me under what oop concept does overloading and overriding belongs to. ?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

"Overriding" is just another name for the object-oriented concept of "runtime polymorphism."

"Overloading" really has nothing to do with object-orientation, although sometimes people will call it "compile-time polymorphism", a term I personally dislike. Method overloading is just the ability to have multiple functions (methods) with the same name; non-OO languages can have function overloading just as well as OO ones.
[ June 18, 2006: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Overloading and overriding
 
Similar Threads
damn overriding again
Overriding
obj instanceof (String [] )
Method Overloading and overriding
Overriding