• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

How do I initialize a java aplication with param?

how should I set args[] param in a program ?
  • 2
1 Solution
When you start a java application from cmd you write someting like
javac myApp.java  --this compiles
java myApp one 2 cake --this starts the program with two parameters

one, 2 and cake will be in the string array args
And a hint:
20 points wont attract much attention to your question. Consider raising it
zipmatizAuthor Commented:
Thanks very much. I set the lowest possible points cause i thought its so newbie :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now