Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder3.hal-mli.net!zen.net.uk!dedekind.zen.co.uk!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: The greeting code in Java Date: Sun, 19 Jun 2011 15:03:24 -0400 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <3d6aab49-9a4a-4614-af12-bb1c95bebbe7@w4g2000yqm.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 19 Jun 2011 18:58:31 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="yplGUUrGzpiV4sv58weMcA"; logging-data="32616"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++ZVZ0vLTw4ROaZoYOEGnNXwpkpE/K+cA=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:TKq5UUpRZ5sFOlAMjctTM96qqy8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5396 On 06/19/2011 02:36 PM, Saeed Amrollahi wrote: > On Jun 19, 6:31 pm, Jeff Higgins wrote: >> On 06/19/2011 09:06 AM, Saeed Amrollahi wrote: >> >>> What are the problems of my code and how can I write >>> a better one. Please throw some light. >> >> What means better? > > For example using less abstractions and less involve with Java > stream class hierarchy. For a beginner, learning to write C in Java is unhelpful.