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
How can you justify that a DBMS is better to use than Flat-file database? A DBMS takes care of the storage, retrieval, and management of large data sets on a Database. It give

Android and Universal iOS, Multipurpose Testing App Universal iOS and Android, versatile Testing App Based on Phonegap with the subsequent main features * Support single answ

Employee application Project Description: Subsequent Technology should be used 1) UI (jsp, jstl ,html, etc) 2) Framework (Spring MVC and hibernate) 3) Database (MYSQ


Colossus has just purchased a computer for its new automated reservation system. You have been asked to program the new system.  You are to write a program to assign seats on ea

Need to develop a 3D rolling alarm clock (Android) Project Description: I want an android app as 3D rolling alarm clock It should have sound effect when setting the alarm

The Application context module makes spring a framework. This module extends the concept of BeanFactory, giving support for internationalization (I18N) messages, application lifecy

Write a JavaScript program to prompt the user for the radius of a sphere and call function sphereVolume to calculate and display the volume of the sphere in the status bar.

New Fishing App Project Description: A new app for iPhone providing a GPS connected map of the fishery you are fishing at and other logged in users who are also fishing at th

Fill in the necessary parts to create a GUI that uses the CardDeck class.  In your GUI you should have a text field for each hand, two buttons and a text area.   Your program s