Write a java program:  Your program should take one command-line argument, a person's name, and create output using that name. For example, if you enter the name: Alex, the output should be: Hello Alex, how are you? Use String concatenation to create your output statement.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 15PE
icon
Related questions
Question

Write a java program: 
Your program should take one command-line argument, a person's name, and create output
using that name. For example, if you enter the name: Alex, the output should be:
Hello Alex, how are you?
Use String concatenation to create your output statement.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT