Page 82 - computer science (868) class 11
P. 82

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.


                8080  Touchpad Computer Science-XI
   77   78   79   80   81   82   83   84   85   86   87