First thing you need to remember is when declaring a string and assigning it a value you need to put the value in quotes. Ex. String name = "Bob"; so for this assignment you are looking at something similar to String name = "Bob"; note: do not forget to capitalize String and put what you assigned name as in quotes with a semicolon at the end System.out.println(name); note: name will be replaced automatically with Bob when program is ran because we assigned it with "Bob in this case.
Salt Lake City
Help to others on this assignment
You must be signed in to leave a comment
21 June 2019, 09:47
so what is the problem in this question?