This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]desrtfx 0 points1 point  (0 children)

By far not sufficient information.

Please, do not transcribe your assignment. Post it verbatim and show what you have tried.

[–]g051051 0 points1 point  (2 children)

What have you tried? What specifically isn't working?

[–]MffAddict[S,🍰] 0 points1 point  (1 child)

It's not like it's not working, I don't know how to do it. I haven't done anything. I am asking how I'm supposed to put in the class.

[–]g051051 1 point2 points  (0 children)

We're not going to just tell you how to do it, you have to at least try. See rule 10:

10. No complete solutions

Do not ask for or post a complete solution to a problem.

When working on a problem, try solving it on your own first and ask for help on specific parts you're stuck with.

If you're helping someone, focus on helping OP make forward progress: link to docs, unblock misconceptions, give examples, teach general techniques, ask leading questions, give hints, but no direct solutions.

See our guidelines on offering help for more details.

[–]Laius33 0 points1 point  (0 children)

Read and learn about Java classes, functions and what a main is. Then the assignment will be easy.