Python Program to Add Two Numbers In this Python Program to add 2 User...
Java Program Development can occur in two ways:
1.Developing Java Programs-Using Notepad:
Typing the code in notepad and running it through command prompt. This approach is good for beginners for learning each step thoroughly
2.Developing Java Programs-Using an IDE like Netbeans/Eclipse etc
This approach should be used after we have understood the basic working of java . Because as an IDE hides all the basic steps which are very important to understand
Developing Java Programs Using Notepad
Developing and running a program requires three main steps:
(i) Writing the source code
(ii) Compiling the code
Conversion from source code to bytecode
(iii) Executing the code
Interpretation of the bytecode
Step 1-Writing the Source Code
Select notepad.exe from the list shown in pop up menu of run command.
Right click and choose “run as administrator” option.
Now type the very first Java code given below