Students, please be sure to log in. This site does not use cookies and cannot store work submitted when not signed in.

Unit 1 Problems

name

Finish the code below so that it returns Your name is Justin and your age is 16 using the variables provided. Do not hard code the String

Reminders: String concatenation
You can concatenate (String addition) two strings with the + operator. Examples are shown below.
"Hello "+"World" produces "Hello World"

You can also mix and match types with Strings. Non-string types will convert to Strings.
String temp = "You are number " + 1; //temp will store "You are number 1"


Type your solution        
Skills Practiced:
4.A
4.B
Copyright © StudyCS 2024 All rights reserved.