![]() ![]() After fixing it and saving it (there’s a Save button on the second line, third from the left), try compiling again. ![]() In the top, left window you can click on your program so that it reappears. If there are errors, your program will be replaced by diagnostic messages: Another window will pop up in which your program will run: (The Tool Completed Successfully window comes and goes so quickly, you may miss it.) To run your program, select Tools and then Run Java Application. If there are no errors, the message Tool Completed Successfully will appear and then your source code will reappear. After saving your program, to compile it click on Tools and then select Compile Java:Īs the program compiles, the window containing your program will temporarily go blank. In the pop up box, enter the name of the class (Hi in this example) in the File name box. Save your program by clicking File (top left) and then Save As. Type in your program in the window at the right:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |