Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which statements evaluates to true while checking the equal strings in swift?
Home
Swift
Which statements evaluates to true while checking the equal strings in swift?
0
votes
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
Which statements evaluates to true while checking the equal strings in swift?
A
"abc" == "def"
B
"abc" == "ABC"
C
"abc" == "abc"
D
"abc" ==="def"
swift
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 6, 2022
by
rajeshsharma
Answer: C
Reason: To check two strings are equal we can use == . Comparison is case senstive.
Related questions
0
votes
Q: Which among the following is not true with respect to concatenation of strings in Swift?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
string-concatenation
swift
0
votes
Q: Choose all correct statements. S1: Swift was developed by Apple Inc S2: Swift has file name extension as .swift S3: Swift is an alternative to the Objective-C language
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
0
votes
Q: Which method is used to check for prefix in Swift?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
0
votes
Q: Which command is used to get the current version of swift?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
command
0
votes
Q: Which among the following throws runtime error in Swift?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
0
votes
Q: Which is a valid variable name in Swift?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
variable
0
votes
Q: Which among the following is not an Swift feature?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
0
votes
Q: What is Tuple? How to create a Tuple in swift?
asked
Nov 8, 2022
in
Swift
by
SakshiSharma
tuple
swift
0
votes
Q: How can we define a base class in swift?
asked
Nov 8, 2022
in
Swift
by
SakshiSharma
class
swift
0
votes
Q: What are the collection types that are available in swift?
asked
Nov 8, 2022
in
Swift
by
SakshiSharma
collection
swift
...