I/ Declare variables and initialize string objects
1. String s1;// String is a class
2. String s1 = new String(); // create an empty string s1
3. String s1 = "Whatever"; // every string is an object
4. String s2 = s1; // s2 references to a box (object) that has a content of "Whatever"
5. String s2 = new String(s1);
II/ Methods
1. String s3= s1.Uppercase() // s3 references to a box that has a content of "WHATEVER"
Subscribe to:
Post Comments (Atom)
Mounting USB drives in Windows Subsystem for Linux
Windows Subsystem for Linux can use (mount): SD card USB drives CD drives (CDFS) Network drives UNC paths Local storage / drives Drives form...
-
I. Five different ways to answer a question II. Use SOLO strategies to explain our thinking and reasoning III. SOLO Taxono...
-
Learning levels 1, 2, and 3 Learning levels 4, 5, and 6 References http://www.cccs.edu/Docs/Foundation/SUN/QUESTIONS%20FOR%20TH...
No comments:
Post a Comment