Java Questions
- step1> After install & setup java, try to make your first program.
- copy code in your notepad save with .java extention, in your C:\test drive
- public class HelloWorld {
- public static void main(String[] args)
- {
- System.out.println("Fudeda");
- }
- }
- step 2> goto start menu\run and type cmd, press OK
- in cmd prompt type cd\
- then cd test and press enter
- you are here now c:\test>
- now write javac HelloWorld.java
- :?(remember thet program name should be written correctly)
- then java HelloWorld and press enter ,here u will see>out put as Fudeda
3. HelloWorld at command prompt
This will test your Java installation by showing you how to write a HelloWorld java program which you compile and run from the command prompt (no IDE yet).


