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 command is used to get the current version of swift?
Home
Swift
Which command is used to get the current version of swift?
0
votes
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
Which command is used to get the current version of swift?
A
$ swift -version
B
$ swift --version
C
$ swift --v
D
$ swift --currentversion
swift
command
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 6, 2022
by
rajeshsharma
Answer: B
Reason: To get the current version of Swift, run thefollowing command: $ swift --version
Related questions
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 statements evaluates to true while checking the equal strings in swift?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
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: 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: 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: 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
...