This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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
posted
0
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
posted
0
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!