- Jun 13, 2010
- 68
- 0
- 0
Sorry to bug everyone with these questions, so this is my last one.
Today in class we were assigned this problem.
What I dont understand is how to declare the string variable, what type of initial value he wants, and what it means by use two java statements to print my name.
Thanks in advance for any help.
Today in class we were assigned this problem.
Write a program that does the following
a. Declare a character and a string variable and assign initial values to them.
b. Print the values of both the variables on one line separated by a space character.
c. Use two Java statements to print your full name in one line.
d. Use only one statement to print your address in two lines.
What I dont understand is how to declare the string variable, what type of initial value he wants, and what it means by use two java statements to print my name.
Thanks in advance for any help.