Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.help Subject: Re: need hlp Date: Mon, 09 Mar 2015 09:44:14 -0400 Organization: A noiseless patient Spider Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 9 Mar 2015 13:43:31 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="858a9d65d95f4ea4d355bd116aa2cdbf"; logging-data="14216"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xrTEg3QZd67nJGpSGUPu2" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: Cancel-Lock: sha1:t+bAQvDSKut7d3j8mZlD/Y7kGGE= Xref: csiph.com comp.lang.java.help:3197 On 3/9/2015 8:22 AM, 12030122061@sicsr.ac.in wrote: > class total > { > int a; > int b; > int c; > int d; > int e; > } > public class demo{ > public static void main (Sring args[]) > { > int sum; > } > total b1 = new total(); > b1.a = S[0]; > b1.b = S[1]; > b1.c = S[2]; > b1.d = S[3]; > b1.e = S[4]; > x = a+b+c+d+e; > b1.a = integer parseInt (a); > b2.b = integer parseInt (b); > b3.c = integer parseInt (c); > b4.d = integer parseInt (d); > b5.e = integer parseInt (e); > System.out.println(x); > } What is your question? What "hlp" do you need? All I see here is a bunch of Java-like-but-not-Java garble, with no description of what you want it to do. I'm a programmer, not a mind reader. -- esosman@comcast-dot-net.invalid "Don't be afraid of work. Make work afraid of you." -- TLM