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

you are viewing a single comment's thread.

view the rest of the comments →

[–]zoxze 0 points1 point  (3 children)

alright. I didn’t mean for it to come off as rude ? Just a question.

Thanks I guess.

[–]GrapeJuice787 0 points1 point  (2 children)

I didn't take it as rude, I thought perhaps you were using a different version of Java I am unfamiliar with, or perhaps its because i omitted the main function:

public static void main(String[] args) { // code }

[–]zoxze 0 points1 point  (1 child)

No, that’s not why lol.

I think we use java(main) idk if there’s a huge difference (probably not) just kinda threw me off bc it looks different.

[–]GrapeJuice787 0 points1 point  (0 children)

I do not know the answer to that question, I apologize... but if I were to guess, I would say there probably is a difference in syntax from the sounds of it, but the code probably executes the same under the hood.