Strings Class:
- Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects.
- The Java platform provides the String class to create and manipulate strings.
Creating Strings:
String charAt():
Returns the character at the specified index.
String Concat():
Concatenates the specified string to the end of this string.
String length():
Returns the length of this string.
String lastIndexOf():
Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index.
Java Parser:
- Parsing is used to convert the value of one data type to a value of another data type.
No comments:
Post a Comment