// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class CtorTest {
    public static void main(String[] args) {
        String s1 = "ABC";
        System.out.println(s1);
        String s2 = s1;
        System.out.println(s2);
        String s3 = new String("ABC");
        System.out.println(s3);
        String s4 = new String(s1);
        System.out.println(s4);
    }
}
