Well ! I have a confusion.When we length of an array we just use a.length; but to find length of an string we use S.length();.Why paranthesis are not used in case of array,however to call any method we use paranthesis?
I have a other problem too,i created an object of self defined class MyObject.Now how can i give the string behavior to the object i made,for e.g. the objects can be concated(concated because object should behave like string)?