|
method calling?
hello,
I was wondering in what order are method calls completed on an object?
left to right? or right to left?
say you have a large StringBuffer object with many characters and you want to 1). convert it to a String, 2). get a substring within it and 3). test for an indexOf(".exe");
does it matter how it is written?
string_buff.toString().substring(start,end).indexO f(SPECIAL_EXTENSION);
-thanks.
|