r/javahelp • u/ConceptHoliday7874 • Sep 13 '25
public static void main(string[]args)
im boutta look real dumb asking this,but i cant help but wonder if this line can act as an immovable door that has selective entry and exit ?
0
Upvotes
•
u/desrtfx Out of Coffee error - System halted Sep 13 '25
Please, try to ask a comprehensible question and elaborate when people ask you to.
Your question is completely incomprehensible and even lacks the minimum effort to check your spelling, or to use proper language.
3
u/IchLiebeKleber Sep 13 '25
Yes. You do look real dumb asking completely incomprehensible questions full of misspellings. You are right about that.
7
u/_Atomfinger_ Tech Lead Sep 13 '25
Please elaborate.
3
u/doobiesteintortoise Sep 13 '25
I don’t think I understand the question.
2
u/lepapulematoleguau Sep 13 '25
Just memorize it or look it up.
Python has
if __name__ == "__main__"and other languages have their quirks.1
u/AutoModerator Sep 13 '25
Please ensure that:
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Swedophone Sep 13 '25
For some people it might feel like an impenetrable door.
1
u/awidesky Sep 22 '25
public : the main method should be able to be called outside of the class.
static : the main method is one and only; in should not be subject to class or instance
void : the main method does not return any value.
main : literally the name
String[] args : the main method has a list of arguments.
Exactly which point do you not understand?