Computer Science
Write down all the steps to compile and execute a Java program.
Java Intro
14 Likes
Answer
- Right click on the class icon in the BlueJ main window.
- Select the compile option from the menu that appears.
- Again right click on the class icon in the BlueJ main window and select the option void main(String[] args).
- Click OK on the method call window that appears on the screen.
- The desired output of the program will be shown on the screen.
Answered By
7 Likes
Related Questions
Write down the syntax of output statement in Java programming with an example
What do you understand by Java reserved words? Name at least five Java reserved words which are commonly used in Java programming.
'Java interpreter is also called Java Virtual Machine'. Justify the statement.
A Java program uses Compiler as well as Interpreter. Explain.