Question: Is the following string comparison correct? String s = Hello String y = Hello if(s==y){ //Do soemthing } True False
Is the following string comparison correct?
String s = "Hello"
String y = "Hello"
if(s==y){
//Do soemthing
}
| True |
| False |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
