Join 132,297 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,140 people online right now. Registration is fast and FREE... Join Now!
If you are talking about the top of the DIC page (in the orange) it appears to be a reverse string function. Notice it is called reverse() and takes in a string. It then creates a loop and fetches characters with charAt(i).
Looks fine to me and who really care, its a decoration.
The fact that String is capitalized tells me that it's neither C nor C++ (unless they have changed since I last used them ). Are there other languages, aside from Java, that have a String object that is capitalized?
This post has been edited by Programmist: 28 Sep, 2008 - 03:29 PM
I am pretty sure it is Java and to answer the previous question, C# also has a String class with the capital "S". But since charAt is pretty much a thing of Javascript/Java I will go with Java. It also has a lowercase length method of a string which takes parenthesis... another indicator that it is probably Java.