Dear All,
Being a novice in GF, I find NEW confusing.
AFAIK, it is meant to create a new object but isn't the object created at declaration?
Take the following snippet for example:
String s1;
s1="Write Once";
String s2 = new String();
s2="Run Anywhere.";
System.out.println(s1 + " " + s2);
Both strings are created and work just fine - so what is NEW used for?
What does it do?
Thank you for your time,
---
XC

