Computer Science, asked by parchuriharika453, 1 year ago

Question 1
Suppose you have written a Java program that has one class and one method.

Which one of the following best describes what you need to do in order to run the program?


Compile the program, call the method, and then create a new object for the class.


Compile the program, create a new object for the class, and call the method.


Create a new object for the class, compile the program, and call the method.


Create a new object for the class, call the method, and then compile the program.

Answers

Answered by shivanireddy42
5

Answer:

Compile the program, create a new object for the class, and call the method.

Answered by Anonymous
0

Answer:

2 one is most appropriate

Similar questions