New Member FAQ
|
Forums
|
Earn Revenue
Resources
Entrance
Ask Experts
Exam Papers
Jobs
English
Projects
Universities
Colleges
Courses
Schools
Training
My India
Members
|
Communities
|
Business Directory
|
Classifieds
|
Reviews
|
Silverlight Games
|
Peer Appraisal
|
Bookmarks
|
Polls
|
Mentors
|
Links
|
MCA Projects
|
Lobby
|
Gift Shop
|
Chat
|
New Posts
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
N K Ravishanka...
(203)
Raghav Sharma
(201)
Vandana
(94)
Last 7 Days
N K Ravishanka...
(956)
Shankar Ganesh
(818)
karthik
(620)
more...
Awards & Gifts
Online Exams
Aptitude Questions
General Aptitude Tests
Medical Entrance
Engineering Entrance
Bank Tests
TOEFL & IELTS Questions
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
Program to accept a arguments from command line in java
Posted Date: Total Responses:
0
Posted By:
hasmukh
Member Level:
Bronze
Points/Cash
: 1
Follow Program is for to accept a arguments from command line in javaclass
Commline
{
public static void main(String args[ ])
{
int count,i=0;
String string;
count=args.length;
System.out.println("No of arguments="+count);
while(i
{
string=args[i];
i=i+1;
System.out.println("i++"+"Java is"+string+"!");
}
}
}
OUTPUT:
C:\Class 1>java CommandLine Safe object_oriented
No of arguments=2
Java is Safe
Java is object_oriented
Project Feedbacks
No feedbacks found. Be the first to respond and make money from
revenue sharing program
.
Post Feedback
You must
Sign In
to post a feedback.
Next Project:
File Handling in C++
Previous Project:
Program to construct a pascal triangle
Return to Project Index
Post New Project
Related Projects
C++ program - BUBBLE SORT with typedef
Matrix program
Smart Office
TCP Chat program
QUICK SORT using C programming
Contact Us
Advertise
Editors
Privacy Policy
Terms Of Use
AdSense Revenue Sharing sites
ISC Technologies.
2006 - 2009 All Rights Reserved.