naomi newman

Greenhorn
+ Follow
since Apr 22, 2016
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by naomi newman

How do I write a program that passes an unspecified number of integers as command-line arguments to the main method and display their total?

This is what I have



Am I missing a method? Any help would be great!
3 years ago
Okay i will try, thank you for all your help today
3 years ago
I see now that my for loop for printing the array is incorrect. can you tell me what i have done wrong?
3 years ago
okay! I see my problem. I now have

3 years ago
okay so now i have


3 years ago
for



it says
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Array constants can only be used in initializers

at Point.Lab12.main(Lab12.java:9)
3 years ago
now its telling me

Array constants can only be used in initializers

as an error message when i add the elements in the pointMatrix
3 years ago
its giving me an error for 27.5
3 years ago
or would it have to be more explicit like


etc
3 years ago
would it be


3 years ago
so it needs to be

3 years ago
No it isnt. i see now that the 2 and 3 needs to be switched
3 years ago

?
3 years ago
im not sure i am following you about the instance of the MyPoint class
3 years ago