If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?
A) s1 is s2
B) s1=s2
C) s1==s2
D) s1.Equals(s2)
Correct Answer:
Verified
Q14: Which of the following can be facilitated
Q15: Which one of the following statements is
Q16: Which of the following statements are correct
Q17: Which of the following statements are correct?1.
Q18: Which of the following will be the
Q20: Which of the following statements is correct
Q21: Which of the following statements are correct
Q22: _ parameters are used to pass results
Q23: The formal-parameter-list is always enclosed in _.
A)Square
B)Semicolon
C)Parenthesis
D)Colon
Q24: _ variables are visible only in the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents