Page 103 - ComputerScience_Class_11
P. 103
Step 10: Select and delete the sample program. After that start typing your program.
Step 11: Click on the Compile button to compile your program. And if it displays the message "Class compiled – no
syntax errors", run your program, else again debug and recompile the program unless it is error-free.
Step 12: To execute the program, right-click on the program icon and select new methodcall(). The Create Object
dialog box opens. Change the Name of Instance and click on the OK button. A red icon with the object name
appears at the bottom left of the window.
Introduction to Object-Oriented Programming Using Java 101

