Question: What is the value of the variable answer after the following code is executed? String stri apple, str2 banana; boolean answer stri.equals(str2) && (stri.length()
What is the value of the variable answer after the following code is executed? String stri "apple", str2 "banana"; boolean answer stri.equals(str2) && (stri.length()
Step by Step Solution
There are 3 Steps involved in it
Lets break down the code 1 String stri apple str2 banana This initi... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
663e6baf79873_956583.pdf
180 KBs PDF File
663e6baf79873_956583.docx
120 KBs Word File
