3/14/2023 0 Comments Mac program for basic codingYour program should look similar to the program in the image above. This step concludes the coding portion of the tutorial. Place a semi-colon at the end of your instruction to show that the instruction on that line of code has ended. Inside the braces of the main function in the HelloWorld class, write the instructionīe sure the words that you want the program to print to your console are placed inside quotation marks. Will print the parameter of the instruction to the computer console. For this program, you want the computer to print the words "Hello World!" to your console. The instructions inside the brackets of the main function will tell your computer what to do when it executes the program. The final step in writing your code is to define the main function in you HelloWorld class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |