What are OOP's Jargons and Complexities
Arved Sandstrom
asandstrom at accesswave.ca
Sat Mar 31 01:24:51 EDT 2007
"Mike Schilling" <mscottschilling at hotmail.com> wrote in message
news:SFbPh.10507$JZ3.490 at newssvr13.news.prodigy.net...
> bugbear wrote:
>> Er. How about
>>
>> public class test {
>> public static void main(String[] args) {
>> String a = "a string";
>> String b = "another one";
>> StringBuffer c = a + b;
>
> String c (etc.), that is.
My answer, Mike. Since there was never any need for variables "a" and "b" to
be separate, I'd just be blatting out
System.out.println("a stringanother one");
as the solution to this particular problem. It's just a confuscated Hello
World.
AHS
More information about the Python-list
mailing list