java Beginners
Can someone please explain how java works I have to admitt I have a learning disability and am a student and finding this part of my education very hard
# 1
You're not really posting the the right group of forums, Java language questions should be posted [url= http://forum.java.sun.com/index.jsp]here[/url]. As far as learning Java goes I would suggest you start [url= http://java.sun.com/learning/new2java/index.html]here[/url].
rtg54 at 2007-7-3 15:26:47 >

# 2
how can i write a program using string tokenizer to read an arry of numbers to find a maximum value but the maximum has to have a limit, need to keep records of the maximum value and amount of numbers that pass this value, input data is in batchs
# 3
StringTokenizer is not needed.
...
int[] values; // Your array of numbers
static int limit = x; // Your maximum value
// allowed, replace x with that number
int max; // Your maximum value found
...
for (int i = 0; i <= values.length; i++)
{
if (values[i] > max && values[i] <= limit) max = values[i];
}
...
I know this doesn't belong here, but I hope this helps!