Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Qa dd'rouy Again

 
Umair Uddin
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,..
please give me the simplest examples of Method Overloading and Method Overriding and what's the difference b/w them...
also give the description of Constructor Overloading ...
Thankx alot ..
waiting for reply..
Umair Uddin Qa dd'rouy
 
Ian Darwin
author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Here is method overriding:

I suggest you copy these to an editor and compile them and run them.
------------------
Ian Darwin,
Author of Java Cookbook: Solutions and Examples for Java Developers
[This message has been edited by Ian Darwin (edited September 28, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic