java Echo a b Here Thereit should print:
aYou'll probably find it useful to start from Homework #0b's "Hello World" application. Change the class name to Echo and make appropriate changes in the body of main.
b
Here
There
Hints: Remember that the parameter passed to main is an array of strings, and that the println method takes a string as its parameter.
See Echo.java for a sample solution.
java Sum 1 2 3 4it should print:
10You should be able to start from your solution to Part 1.
Hints: Class Integer has a static method parseInt that takes a string argument and returns an integer; e.g., Integer.parseInt("10") returns 10.
See Sum.java for a sample solution.