This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes operator overloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "operator overloading" Watch "operator overloading" New topic
Author

operator overloading

Kamlesh Sangani
Greenhorn

Joined: Feb 28, 2004
Posts: 22
if java doesnt support operator overloadning how can operator + be used for additiona as well as string concatenation???


Lets Java !<br />Kamlesh
Carlos Failde
Ranch Hand

Joined: Oct 20, 2000
Posts: 84
That is indeed an example of operator overloading. More precisely Java does not allow user-defined operator overloading.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
KS,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: operator overloading
 
Similar Threads
Iterations - finding the same value for 2 variables
convert Postiive number to negative..
Picking variables with a given propability
Interview Question
can any one explain this