VisualBuilder
  Home > Java > Tutorials > Simple Programming part 2 - HelloWorld2 - Java Tutorial
Tell a friend
Link to us
Total Members
      Members: 84661
     
Sitemap Forum Chat
Home
Java Tutorial Home
1 . What is Java?
2 . Benefits of using Java
3 . What do you need for Java?
4 . Setting up Java
5 . Simple programming
6 . How the HelloWorld java application works?
7 . Simple Programming part 2 - HelloWorld2
8 . Object Oriented Basics
9 . Designing Java applications using Object Orientation
 
 
Java Home
Java Members (27650)
Java Member Articles ( 40 )
Java Discussion (275)
Java Q & A ( 174 )
- Java Ask Question
- Java Questions
- Java Unanswered Questions
Java Resources
Java Source Code (1096)
Java Articles (551)
Java Blogs (118)
Java Jobs (797)
Java Components (85)
Java Books (169)
Java Websites (127)
Java News (103)
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.Net Security,Internationalisation And Deployment
ASP.NET Tutorial
C# Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (451 )
Source Code (3275 )
Articles (359 )
Books (372 )
Components (1596 )
News (892 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise

Java Tutorial
 Simple Programming part 2 - HelloWorld2
  << Prev: How the HelloWorld java application works? Next: Object Oriented Basics >>


We will build up the HelloWorld application for example of using command line parameter. In the main method we check if the value of the -language input parameter is french,the greeting will be Bonjour Java. Otherwise,the greet will be Hello Java.


Create the HelloWorld2 class as following:


 "Hello


Pass the input parameters to get the Bonjour Java greet


 "Pass


Otherwise to get the Hello World greeting - in English


 "Otherwise


  << Prev: How the HelloWorld java application works? Next: Object Oriented Basics >>
Java Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
 
ADVERTISEMENT
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising