#Print not working

1 messages · Page 1 of 1 (latest)

tepid birchBOT
#

This post has been reserved for your question.

Hey @candid rivet! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

burnt marsh
#

you need main, not test, for the function name

#

the name is important

candid rivet
#

So i can put public class main, and test in the public static void?

burnt marsh
#

the opposite

candid rivet
#

ahh, ok tyvm

burnt marsh
#

the class name can be whatever, just needs to match the name of the file
the method name public static void main(String[] args) is important