Write a JAVA Program that accepts two Strings as command line arguments and generate the output in the required format.
Example1)
If the two command line arguments are Wipro and Bangalore then the output generated should be Wipro Technologies Bangalore.
Example2)
If the command line arguments are ABC and Mumbai then the output generated should be ABC Technologies Mumbai
Answers
Answered by
6
Answer:
public class Main
{
public static void main(String[] args) {
System.out.println(args[0]+" Technologies "+args[1]);
}
}
Explanation:
run the program and pass Wipro Bangalore
Similar questions