Explain java.lang.string library in java, JAVA Programming

Explain java.lang.string library in java?

Strings are objects. Specifically they're instances of the class java.lang.String. This class has several methods which are useful for working along with strings.

Internally Java Strings are arrays of Unicode characters. For instance the String "Hello" is a five element array. Like arrays, Strings starts counting at 0. Therefore in the String "Hello" 'H' is character 0, 'e' is character 1, and so on.

0

1

2

3

4

H

e

l

l

o

 

Posted Date: 5/16/2013 2:46:44 AM | Location : United States







Related Discussions:- Explain java.lang.string library in java, Assignment Help, Ask Question on Explain java.lang.string library in java, Get Answer, Expert's Help, Explain java.lang.string library in java Discussions

Write discussion on Explain java.lang.string library in java
Your posts are moderated
Related Questions
The fancy new French restaurant La Food is very popular for its authentic cuisine and high prices. This restaurant does not take reservations. To help improve the efficiency of the

need help in assignment

Both functions send you to a new resource like JSP, Servlet etc.     Normal 0 false false false EN-US X-NONE X-NONE

Execution Process of Java bytecode JVM are available for almost every operating system. Java bytecode is executed by employing any operating system's JVM. Hence achieve port

Project Requirements Write and test a Java program to play Minesweeper using Model-View-Presenter design (The model is an interface defining the data to be displayed or other

Develop a code for fibonacci series

PART1: Write a class with the header public class OrderedPair > implements Comparable > instance variables private Key x private Key y constructor publicOrd


Automated the claim sub-system: Insurance Domain:       CIA-MI   Type                                         Development - Web-based Application Role

What is an Iterator? Some of the collection classes give traversal of their contents via a java.util.Iterator interface. This interface permits you to walk through a collection