The error you posted at the top is simple to fix. Look at your main method. You are doing the following: double highest = getHighest(); The problem here is your getHighest() method needs to take in a...
Type: Posts; User: Dejan
The error you posted at the top is simple to fix. Look at your main method. You are doing the following: double highest = getHighest(); The problem here is your getHighest() method needs to take in a...
It also seems that you are trying to access grades[i] outside the scope of the for loop. So I will be undefined as well. Since it is a 2 dimensional array and you only need 3 grades and a total, for...
If you are looking to do phone development with Java, I would recommend the Android platform as their apps are developed in java. If you are looking to go into iPhone development you will need to get...
Yea, you need to use your index, which in your case is counter.
sum += a[counter];
Dejan
Bruzurk,
I also ran your code using Eclipse and it compiled fine for me. The code itself looks fine.
I would strongly recommend downloading Eclipse for your Java development as it has great...
Ok, well i'm not sure what output you are going for but i did notice a few things:
1) Your first method printMe(list1); prints the following "Apple Banana Orange Mango Grapes Briyani Chicken Meat...