Java Programming
C Programming
JavaScript

String In JAVA language?

User Avatar
Wiki User
2008-10-21 13:22:22

In Java, literal character strings such as "foo" are implemented

as instances of the String class. These strings are constant and

can not be modified directly. Mutable character strings, or string

variables, are implemented as instances of StringBuffer class. It

is also possible to work directly with arrays of chars, but String

and related classes offer lots of useful methods.


Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.