Now you will create your first itty bitty Java program from scratch!
Rx: <5 min Av: 5-10 min Sd: 10-15 min DNF: 15+ min
File > New > Java Project
HelloWorld_uLogin
and hit Finish
HelloWorld_uLogin
project folder and go to New > Class
HelloWorld
and make sure to select the checkbox next to public static void main(String[] args)
:uLogin
in class names, method names, or any other names besides your project or zip file names.HelloWorld.java
.main
method, type the Java code necessary to print “Hello, World!”: System.out.println("Hello, World!");
Once you’ve finished doing the HW a single time, watch me do it:
You’ll learn significantly less from watching me solve the practice HW if you haven’t attempted the HW yourself first.
While it’s an achievement to finish the HW no matter how long it takes, you might experience “diminishing returns” if you work longer than the DNF time. Thus, it might be strategic to stop working at the DNF time and watch my solution.
After watching my solution, I recommend that you repeat the HW if you have not achieved at least Av performance. If so, be sure to:
Feel free to keep trying until you make Rx if that’s of interest to you.