#public static void issue?
1 messages ยท Page 1 of 1 (latest)
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
Check for opening-closing brackets
how?
After args)}
Your ide is showing something in red underline. It's giving you hint of what could be a possibile reason for your error.
should it be in the syntax?
hey there!
gday
you need to make main like this main()
it seems you're on java 21
that's a new feature
you can avoid writing a class either
he's lacking a simple bracket after args)
args) {
like this
void main() {
}
I was trying to help him identify the missing bracket. As it'll improve debugging skills.
i know, but at this point that info is waaay to overwhelming. The approach is good, just should of been inverted
Yup that's true
theres also something that says "no usages"
i tried to do it again and that message comes up
created a new class
that comes up when your code has no usage. It will disappear on its own @hasty shadow
like if your creating 20 classes and one of em has no usage. It will indicate that
ok hold on, looking back at the image I sent.... I'm an idiot ๐คฃ wrong bracket
sorry for wasting ur guys time
i knew it at first
just dk how I missed that
it was so simple
anyways, cheers guys ๐
Closed the thread.
.
the original question got deleted
its impossible for people to understand what ur question is now
id suggest u create a new thread, if u still have a question
(or why did u reopen the thread?)
haha alright ๐
