![]() We will always include such * lines in our programs and encourage you to do the same. The next few lines give a sample execution * of the program and the resulting output. If Java is not installed, follow the instructions to Install. The next line describes * the purpose of the program. As a prerequisite, let us make sure that our environment is ready to compile and run Java code. The first two lines tell * us what to type to compile and test the program. ![]() They are not part of the program * they serve to remind us about its properties. * * % java HelloWorld * Hello, World * * These 17 lines of text are comments. By tradition, this is everyone's first program. Below is the syntax highlighted version of HelloWorld.java
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |