Write a Program that accepts two Strings as command line arguments and generate the output in the required format.
Answers
Answered by
0
where is the format friend ?
Answered by
0
Answer:
The program is given following -
class A
public static void main(String args[])
System.out.println(args[0] + “ technologies ”);
System.out.println(args[1]);
The java code that is written above takes 2 command lines argument strings and are printing them as the given format. The 1st argument is printed by the args[0]. The + sign generally concatenates strings. (By string technologies). The second argument is printed by the args[1].
Similar questions