Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
String(String original)
Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.
String s1 = "fred"; // or String s1 = new String("Fred");
String s2 = new String(s1); // gives u a separate copy of s1
(String original)