QUESTION IMAGE
Question
11.which keyword is used to define a function in swift?
a. def
b. func √
c. method
d. function
12.in objective - c, which symbol is used to send messages to objects?
a. 、x
b. ->
c. @
d.
13.which of the following is not a swift data type?
a. int
b. string
c. float
d. char √
14.which swift operator represents logical and?
a. &
b. && √
c. and
d. +
Brief Explanations
- In Swift, the 'func' keyword defines a function.
- In Objective - C, the '->' symbol is used to send messages to objects.
- In Swift, 'Char' is not a built - in data type, while 'Int', 'String', and 'Float' are.
- In Swift, the '&&' operator represents logical AND.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- b. func
- b. ->
- d. Char
- b. &&