A journey into Java

Scratch Java program using Arithmetic operations

What are the Arithmetic operations?
-> Addition –> +
-> Subtraction –> –
-> Multiplication –> *
-> Division –> /
-> Modules –> %

By d…


This content originally appeared on DEV Community and was authored by MANIKANDAN

Scratch Java program using Arithmetic operations

What are the Arithmetic operations?
-> Addition --> +
-> Subtraction --> -
-> Multiplication --> *
-> Division --> /
-> Modules --> %

By doing this program, I have understood the basic function of running a Java program.

Steps that we should follow when we are using Notepad for compiling
and running a Java program
-> We have to go to the folder where our Java file is, right-click
and open a terminal.
-> Type javac file name with extension, this will compile the file
-> After typing javac file name, type java file name. This will run
your program

After completing the program, I have pushed to GitLab
-> I have made many mistakes while pushing the file from

local to remote repository
-> But at last I have pushed he file to git

Note:-we have to push only the .java file not .class file


This content originally appeared on DEV Community and was authored by MANIKANDAN


Print Share Comment Cite Upload Translate Updates
APA

MANIKANDAN | Sciencx (2025-08-19T16:48:06+00:00) A journey into Java. Retrieved from https://www.scien.cx/2025/08/19/a-journey-into-java/

MLA
" » A journey into Java." MANIKANDAN | Sciencx - Tuesday August 19, 2025, https://www.scien.cx/2025/08/19/a-journey-into-java/
HARVARD
MANIKANDAN | Sciencx Tuesday August 19, 2025 » A journey into Java., viewed ,<https://www.scien.cx/2025/08/19/a-journey-into-java/>
VANCOUVER
MANIKANDAN | Sciencx - » A journey into Java. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/08/19/a-journey-into-java/
CHICAGO
" » A journey into Java." MANIKANDAN | Sciencx - Accessed . https://www.scien.cx/2025/08/19/a-journey-into-java/
IEEE
" » A journey into Java." MANIKANDAN | Sciencx [Online]. Available: https://www.scien.cx/2025/08/19/a-journey-into-java/. [Accessed: ]
rf:citation
» A journey into Java | MANIKANDAN | Sciencx | https://www.scien.cx/2025/08/19/a-journey-into-java/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.