0 votes
in Swift by
Which statements evaluates to true while checking the equal strings in swift?

A

"abc" == "def"

B

"abc" == "ABC"

C

"abc" == "abc"

D

"abc" ==="def"

1 Answer

0 votes
by

Answer: C

Reason:  To check two strings are equal we can use == . Comparison is case senstive.

Related questions

0 votes
asked Nov 6, 2022 in Swift by rajeshsharma
0 votes
asked Nov 8, 2022 in Swift by SakshiSharma
...