• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in Real- time Overloading

 
l suresh
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one give the example for overloading in real time
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand the question. What do you mean by "in real time"?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think he means "real-life". I've seen people make this mistake before.

A "real-life" example? How about all the overloaded print() and println() methods in java.io.PrintWriter? These are designed to provide a sensible way to print each of many different data types.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic