Multiple choice technology platforms and products

We have a public class with a proper main method. Which of the following options helps us in supplying the runtime arguments?

  1. Right click on the class and select ‘Run as > Java Application’

  2. Right click on the class and select ‘Run’

  3. It is not possible in Eclipse.

  4. All of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Eclipse, runtime arguments can be supplied by right-clicking on the class containing the main method, selecting Run As, and then Java Application or configuring the run configurations. Option A correctly describes this standard IDE workflow.