How to Run a Simple Java Program in Eclipse?

后端 未结 5 2259
醉话见心
醉话见心 2020-12-16 18:34

As you can probably understand from the question itself, I\'m new to Java. I was given an exercise to write a Java program which receives a character, prints it and the next

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 19:18

    Right click on your java file in project explorer of your eclipse. Then Run As> Run Configuration

    enter image description here Then you will get a window. Like-

    enter image description here

    Click on Arguments Tabs, and then write some text there, may be a character.

    And then Click on Apply button and Run Button.

提交回复
热议问题