View Single Post
  #4 (permalink)  
Old 12-11-2007, 11:41 PM
ferno ferno is offline
Member
 
Join Date: Dec 2007
Posts: 2
ferno is on a distinguished road
thanks wsaryada, that worked, but now i have another question:

i'm coming from c++, and my question is if I can overload operators like +, and the accessor function ( [] ) in java?

because one thing i really want to do is be able to create an AdvString, lets call it s1, and be able to use s1[2] to get the character at position 2 of the AdvString...
Reply With Quote