Sitwon
pocketmonsterr6
Sitwon
pocketmonsterr6
Sitwon
pocketmonsterr6
So if my String variable is named message, and it just wants to see the variable on the screen, it would just be
System.out.println message)
Cause Ive been entering that in myProgramminglab and its counting my code as incorrect.
What is the exact error message?
MyProgramminglab highlights the errors and throughout the code only println is highlighted and it says, This may need to be replaced. and thats where I get confused.
I am not familiar with "MyProgramminglab", can you show us a screenshot?
The Question
The Result
Edit:
This one shows the replace alert.
That's strange, because it appears that you typed that command exactly right according to the question.
You could try using 'print' instead of 'println'.
What book/course are you using? I want to add it to my list of things NOT to recommend.
Yeah, that was it. It just wanted print, not println.
emotion_facepalm
The book is called Java Software Solutions: Foundations of Program Design, myProgramminglab is based off the book, and my class just uses this as a means of practice exercises.
Anyways, I thank you all very much. I sincerely appreciate the help, as I have no other programmers as friends.