The Artima Developer Community
Sponsored Link

Java Buzz Forum
Difference between Polymorphism and Overriding Overloading in Java with Example

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Javin Paul

Posts: 1090
Nickname: javinpaul
Registered: Jan, 2012

Javin Paul is Java Programmer working on Finance domain.
Difference between Polymorphism and Overriding Overloading in Java with Example Posted: Oct 30, 2012 7:40 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Javin Paul.
Original Post: Difference between Polymorphism and Overriding Overloading in Java with Example
Feed Title: Java67
Feed URL: http://www.java67.com/feeds/posts/default?alt=rss
Feed Description: Java and technology tutorials, tips, questions for all programmers.
Latest Java Buzz Posts
Latest Java Buzz Posts by Javin Paul
Latest Posts From Java67

Advertisement


Polymorphism vs Overloading vs Overriding
Some one asked me What is difference between Polymorphism and Overriding in Java and similarly difference between Polymorphism and Overloading. Well they are not two different thing, Polymorphism is an object oriented or OOPS concept like Abstraction, Encapsulation or Inheritance which facilitate use of interface and allows Java program to take advantage of dynamic binding in Java. Polymorphism is also a way though which a Type can behave differently than expected based upon which kind of Object it is pointing. Overloading and overriding are two forms of Polymorphism available in Java. Both overloading and overriding concept is applied on methods in Java. Since polymorphism literally means taking multiple forms, So even though you have name of the method same in case of overloading and overriding, actual method called can be any of those multiple methods with same name. Let's see some more details on method overloading and overriding to understand how polymorphism relates to overloading and overriding and How they are different.
Read more ยป

Read: Difference between Polymorphism and Overriding Overloading in Java with Example

Topic: Java program to calculate Simple Interest - homework exercise Previous Topic   Next Topic Topic: Sending Event Invitations With Seam

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use