Page 106 - Cs_withBlue_J_C11_Flipbook
P. 106

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 method_call. 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.


                104104  Touchpad Computer Science-XI
   101   102   103   104   105   106   107   108   109   110   111