Science, asked by stachal3, 1 year ago

how to write a simple java program

Answers

Answered by harryrajput3
1
Method 2. Hello World Program. We will first create a program that prints "Hello World." Declare your class and your main method. Write the line of code that will print out "Hello World." Put it all together. Save your file and open up command prompt or terminal to compile the program. Run the program.
Answered by Anonymous
1
we will 1st create a program that prints hello world
declare ur class and main methods
write a line of code that will prinylt out hello world
put it all together
save ur file and open up command prompt or terminal to compile the program
run the program.
Similar questions