public static void main(String args) In Java - What is String args?
Вставка
- Опубліковано 31 тра 2023
- $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
In this video, I show you what String[] args means in the main method:
public static void main(String[] args) {}
String[] args is just a variable you can use in the Main method! It's an array of Strings that gets passed through the main method when it gets run. There are a few ways to do that, which I show you in this video :)
I hope you enjoyed this tutorial on what "args" is in public static void main(String args) in Java!!
Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
Free Tips: bit.ly/3U6HXcb
Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.
~
Alex Lee
If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
I just started learning Java like 2 weeks ago, it’s awesome that you have so many tutorials I’ve been just absorbing the knowledge. It’s much appreciated 🙏
I am so glad you're back! Thank you from all of us unprivilaged by life! Greetings from Poland ❤
Java tutorials king is back.🎉👍👍👍
Love from India 🇮🇳 ❤😁
i have been wondering about the use of the args array and now i know!! thanks
Nice!! Happy to help :)
Been wondering about this since I started Java a few years ago, thank you! The CLI demonstration really helped me understand a few CLI apps I have on my system, very nice!
:)
So excited to see a new Java tutorial from you!! This made my day! This is literally my favorite UA-cam channel and hobby! 😂❤
Yayy more java tutorials
:))
I've learned so much from your videos. You make Java approachable for the average Joe. Thanks man!
You are helping me so much this semester. You changed my hate and disdain for java into something I'm truly curious about and growing to like more each day. Its 5 am I cant sleep and i am watching your video 😂😂😂 not because a pressing assignment is due but just to learn. I wish there was a way to individually book with you for hands on help on different projects or a way to suggest topics. I hope you continue to make content and find new and engaging ways to bring the material across. Thank you!
Thank you so much, this means so much to me! Programming is supposed to be fun, so I'm so glad to hear you're enjoying it :)
Thank you for all of your help. Had to learn java in less than a week for a job interview (already sort of familiar with programming). And you have prepared me more than I could ever repay you. Teaching is a talent of yours and can't express my gratitude enough. Even if I don't get the job I've gained so much knowledge in such a short amount of time, forever grateful. Thank you and you will succeed in anything you choose to pursue!
I used to watch your videos a few years ago they helped me with understanding a lot of my subjects in java. Now I graduated and just wanted to thank you for providing and spreading these beneficial videos to everyone ^_^...Thank you Alex!!
GG :))
Great explanation 😃...thank you!
Great job Alex ❤
thanks ❤
Thank you Alex, best videos out there
So cool man, i just going to my pc to try it now!!
Alex?! Is that really you? 😊 Welcomeback!
He is BACK!!!
Thank you!! More java videoss
Thanks for helping me understand what String[] args is! I was just thinking what would happen if I printed the args array…. thank you!
you are making videos again🙂🙂 I'm about to pass my Advance OOP module with distinctions
aye congrats :)
Thank you
Hi Alex , can u do a series on S.O.L.I.D principles
thank you
Since I started learning Java, I watched your videos. I'm in my junior HS but yeah I love coding. And I'm just wondering if you can make a vd about how to memorize Java projects or making own projects without looking back again. I would be really appreciate if you made it.
Welcome sir
What if I want to use a file.txt in arguments, how would you do it?
Hello just want to ask why i always got this error java.lang.module.findexception in eclipse. everytime i open the application this is always showup. is this fixable? or bcuz of my computer i used? i use the buildpath instruction i watch in youtube
I just got admission into Computer Science Department and I want to start practicing Java programming at home. pls what is the name of the software you are using for the java programming so I can install it on my computer for practice?
nothing against Eclipse but have you ever considered using IntelliJ IDEA or at least trying it out?
im not a long time viewer of your channel so i don't know if you've done anything like that on here but just thought i should put it out there because Eclipse seems a bit like a thing of the past and IntelliJ is a lot newer feeling and user friendly.
I see why the executable (or class file argument) itself isn't taken unlike in C/C++. Because the file has the same name as the main class :)
Are you back on giving Java lessons? Tell me yes pls!!! 😊
Can you do tutorial on AI🤔
Early sir alex
👍
I am working on a small Java Project that does few things. Now i am nearly finished on this project & its working as expected.
I want to make this Project into an App (Native installable App for Mac, Linux and Windows) - I also want to include the minimal jdk required to run this App after Install for each Operating System.
I know there are better ways to make an app than "Java App" but since its a small app and works flawlessly, i just want to build it.
Jpackage is preferred tool i guess but i don't know how to include the required files like jdk, icon or an image.
Can you make a simple tutorial on how to make native Java app Installer for Mac, Windows or Linux (Including jdk) ??
Makes sense why this is not taught when you’re just starting with Java.
Something you won't ever get bored watching 🪻
Thank you