Like us on Facebook to get the latest links daily

Thursday, November 29, 2012

java programming beginners Easiest Tutorial | Learn Java in Simple Steps


java programming beginners Easiest Tutorial


Hello Friend Today I Will Show you the Basic Steps to start Your First Java Program ,but Before Starting I want to tell you the basic requirements to start The Program.
  • Download JDK1.7.0 (Visit my Site To Get The Download Link Or Dowload from Official Website of java)
  • Install It on your C: Drive (Recomended)
Now open a Notepad and Write "CMD" in it and and save it with file name "run.bat" . Now right click on "run.bat" file and Send it to the desktop.

Now Follow these Steps
  • edit filename.java //this will create a java file for your program
  • class Class_name  // general structure of the java Program
        
         { 
             public static void main(String args[])
              {
             
              }
         }
    
    
  • // type the followig code in java compliler and run your first program
    
    class java1  // general structure of the java Program
        
         { 
             public static void main(String args[])
              {
             system.out.print("Hello From Java")
              }
         }





Get E-mail Subscription for Latest Updates


Don't forget to Click on activation link , sent to your E-mail ID

No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...