KnowledgeBoat Logo
LoginJOIN NOW

Computer Science

Write down all the steps to compile and execute a Java program.

Java Intro

14 Likes

Answer

  1. Right click on the class icon in the BlueJ main window.
  2. Select the compile option from the menu that appears.
  3. Again right click on the class icon in the BlueJ main window and select the option void main(String[] args).
  4. Click OK on the method call window that appears on the screen.
  5. The desired output of the program will be shown on the screen.

Answered By

7 Likes


Related Questions