Question: Assume the variable name references a String object. Write an if statement that displays Do I know you? if the String object contains Timothy.
Assume the variable name references a String object. Write an if statement that displays “Do I know you?” if the String object contains “Timothy”.
Step by Step Solution
3.60 Rating (171 Votes )
There are 3 Steps involved in it
The correct answer to be filled in the Blank is if nameequal... View full answer
Get step-by-step solutions from verified subject matter experts
