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
 
 
              
 
    
Top comments (0)