What Is The Difference Between Java Command Line Arguments And C Command Line Arguments?
2 Answers - Sort by: Date | Rating
Java command line arguements are passed at RunTime.and is more flexible but C command line arguements are not flexible
0
0
Java Commandline arguments are stored in a String array.We can take it by giving the index.
for example......
We are giving
public static void main(String args[])
Here args is the array.
By args.length, we will get the length of the array.
By args[0],args[1],....etc. we can get the elements of the array.
for example......
We are giving
public static void main(String args[])
Here args is the array.
By args.length, we will get the length of the array.
By args[0],args[1],....etc. we can get the elements of the array.
0
1
- How To Create An Application By Using Java Program?
- How To Make An Application By Using Java Program?
- What How The Step For Make Library Management?
- In Which Process We Can Start Java?
- How To Download Java IDE?
- Define The Concept Of Java Byte Code?
- How To Run Remote Method Invocation In More Machine?
- How To Run Java Remote Method Invocation In More Machine?
- How To Make A Java Program That Will Ask The User To Input A Number And Display All The Even Number And The Sum Of All Even Numbers Based On The Inputted/ Given Numbers?
- Is A Static Variable An Instance?
- How To Compile And Run Java Package?
- What Does Literati-on Mean?
- What Is Abstract Class In Details?
- What Is Meant By Remote Method Invocation In Java?
- What Is Meant By Package In Java?
- What Is Meant By Servlet In Java?
- When Was Java Released?
- What Is Latest Technologies In Java?
- Write A Program Using Do…..while Loop To Calculate And Print The First M Fibonacci Numbers?
- What Is The Difference Between Reference &instance Variable?
- Why Java Is Slow?
- What Is The Drawback Of Ms Access?
- What Is Replaced In Place Of Pointers In Java?
- What Replaces Pointers In Java?
- How Many Types We Create Object In Java?
- Explain About Command Line Arguments?
- Why Should We Give String Arguments In Java Main Method
- How Can I Run A C,C++ & JAVA Program From The Command Prompt?
- How Can We Run Java Program By Using Command Prompt?
- How Can We Run Java Program By Command Prompt? Give Answer In Steps Please?
- What Is A Command Line Interpreter?

New Comment - Comments are editable for 5 min.