"Xah Lee" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> public class test {
> public static void main(String[] args) {
> String a = new String("a string");
> String b = new String("another one");
> StringBuffer c = new StringBuffer(40);
> c.append(a); c.append(b);
> System.out.println(c.toString());
> }
> }

Actually, it can be as simple as:
public class test {
    public static void main(String[] args) {
        String c = new String("a string"+" another one");
        System.out.println(c);
    }
}

I will not get into your "history" of the "OOP hype". 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to