The first step of java programming is to learn print out a statement.
Using Notepad or Netbeans.
public class Welcome1
{
public static void main( String args[] )
{
System.out.print( "Welcome to Java Programming!" );
} // end method main
} // end class Welcome1
NOTE: Save it as Welcome1.java
Now you can execute this using CMD. Use Run and type cmd.
Now you need to compile the file.
Locate your file by using " cd .."
Type javac Welcome1.java to compile.
If no syntax error, den type java Welcome1 .
It will show:
Welcome to Java Programming!
0 Comments:
Subscribe to:
Post Comments (Atom)
Labels
- 10 step (1)
- April 1 (1)
- Banner Advertisements (1)
- Business (2)
- computer programming (1)
- Conficker (1)
- converter (1)
- Design (4)
- Designer (1)
- detect hard disk (1)
- download (1)
- error (1)
- Flash (1)
- Games (1)
- Genuine (1)
- Grand Theft Auto IV (1)
- Graphic templates (1)
- hack by debugger (1)
- Hard disk (1)
- How to start Java (2)
- HTML (1)
- Image Optimization (1)
- internet (1)
- Java (2)
- Java 1 (2)
- Java Learning (1)
- Java Programming (1)
- Java Programming 1 (2)
- Load Time (1)
- Mailing List (1)
- Microsoft Office 2007 genuine (1)
- Microsoft Visual C++ (1)
- Microsoft Visual C++ Runtime Library Runtime Error (1)
- mp3 (1)
- Navigation (1)
- Nokia (1)
- Nokia Symbian S40 (1)
- online business tips (4)
- Ovi Mail (1)
- Planning (1)
- Products (1)
- profit (1)
- Programmers (1)
- Push Button Marketer (1)
- Redesign (1)
- runtime (1)
- runtime error (1)
- Sales (1)
- Sitemap (1)
- Splash Pages (1)
- Spybot (1)
- Steam (1)
- superantispyware (1)
- T-shirt (1)
- Toshiba (1)
- Touch ED (1)
- Traffic (4)
- Validation Microsoft Office (1)
- version 1.0.2.0 (1)
- Visitor (2)
- Web templates (1)
- web-builders (1)
- Website (11)
- Website Customization (1)
- Website design (11)
- website tips (4)
- Windows Live Messenger (1)
- Windows Live Messenger 9.0 (1)
- worm (1)
- youtube (1)
- youtube converter (1)