How to Compile and Run Java Program in Command Prompt (CMD)

Опубликовано: 13 Октябрь 2024
на канале: RK SHORTHAND
33,260
312

----------- How to Run Java Program in CMD Using Notepad --------------
In this video, we will learn how to save, compile, and
run (execute) a Java program in Command Prompt (CMD) &
using notepad.


We must follow the steps given below to run a Java program.

Open the notepad and write a Java program into it.
Save the Java program by using the class name followed by .java extension.
open the CMD - type the commands and run the Java program.
tet's create a Java program and run it using the Command Prompt

#Java
#JavaPorgramRun
#cmd