Whts Wrong With It
Author |
Message |
ankush
|
Posted: Mon Feb 23, 2009 1:04 am Post subject: Whts Wrong With It |
|
|
Mod Edit: Remember to use syntax tags! Thanks code: | [syntax="java"]Code Here[/syntax] |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
DemonWasp
|
Posted: Mon Feb 23, 2009 1:25 am Post subject: RE:Whts Wrong With It |
|
|
I don't know what's wrong with it. What's it supposed to do, and what does it do?
You need to provide us with some context for the problem you're running into. Also, please don't forget to use either [ code ] your code here [ / code ] or [ syntax = " language " ] your code here [ / syntax ]. |
|
|
|
|
|
Dan
|
Posted: Mon Feb 23, 2009 1:25 am Post subject: RE:Whts Wrong With It |
|
|
Well the first thing that jumps out at me is that you have two ';'s in "public static void main;(String[]args);" that should not be there.
Method definitions don't need any in that line.
The other big thing that jumps out at me is your formating or lack there of. Try using the [code] or [syntax] tags when posting code. Also when you post questions they should be more then just a subject and code pasted in. You should at least say what errors you are getting and what you are trying to do.
Also your variable names are horrible and nonsensical.
P.S. I hope this is a program you are working on and not some kind of homework question asking what is wrong with a block of code. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
|
|