what's OOP's jargons and complexities?
Dan Perl
danperl at rogers.com
Fri Jan 28 18:40:33 EST 2005
"Xah Lee" <xah at xahlee.org> wrote in message
news:1106953849.915440.134710 at f14g2000cwb.googlegroups.com...
> 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".
More information about the Python-list
mailing list