For writing the source code simply
NOTEPAD can be used.
Command Prompt is used for execution
- In JDK1.7 the Source code (program body in notepad) should be saved with “App.java”after the name
classnameApp.java
- In JDK1.5(older version can be still found in some institutions) the source code must be saved under the quotation marks “ ”
“classname.java”
- Compilation of source code to byte code execution of the byte code is same in both versions
Compilation of source code to byte code
javac classnameApp.java [1.7 Version]
Or
javac classname.java [1.5 Version]
Execution of the byte code
java classname
JAVA
is like an advanced version of C. Therefore if you know fundamentals
C programming you can easily get through JAVA. In the following posts
I’m not going to put up all the key words & its relevant task,
but I’ll give an idea about how they are used through simple
programs.
However if your knowledge is ZERO and
if you are a troll in JAVA .Don’t worry I used to be a one, couple
years ago. Still I’m not a perfect character and I will never be.Because with the time we learn more and more new things.
So I recommend you to follow the
website below.
No comments:
Post a Comment
"You can always tell a real friend: when you've made a fool of yourself he doesn't feel you've done a permanent job."
- Laurence J. Peter
A friend always guide you to your destination, without leaving you in darkness...
Here I am, waiting for your precious comment, which gives strength to my writing.