Chapter 9: Strings
1. What is a String in Java? (The Basics) A String is a sequence of characters (text). In Java, String is a class (not a primitive type like int or char). Java
|
0 1 2 3 4 5 6 7 |
String name = "Webliance"; // most common way String greeting = new String("नमस्ते"); // also valid, but rarely used |
Important...
