60 429
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #14371 in Java | JSP | JSF for art

Question #14371
what is string
Expert's answer
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

The most direct way to create a string is to
write:
String greeting = "Hello world!";

In this case, "Hello world!"
is a string literal—a series of characters in your code that is enclosed in
double quotes. Whenever it encounters a string literal in your code, the
compiler creates a String object with its value—in this case, Hello world!.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions