A journey into Java

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


Source: DEV Community.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.