How many decimal digits of precision does the Double data type have in Swift?
What operators are used to check for protocol conformance in Swift?
When does Swift deallocate objects?
Can a convenience initializer in a Swift class call another initializer from the superclass?
When is memory allocated for instance properties in Swift?
What is the correct function call for the function defined below?
func test(_ label: String) {
print(label)
}
Is prepoluating cases in enumerations allowed in swift by default without specifying a type to the enumeration ?
What happens if you don't provide a custom deinitializer for a subclass?
What is an escaping closure in Swift?
What will be the output of the following lines of code?
class SomeClass {
var someVar: Int = 20
static var anotherVar: Int = 30
func someFunc() {
anotherVar = 50
}
}
var someInstance = SomeClass()
someInstance.someFunc()
print(SomeClass.anotherVar)
OnSite
1 Openings
FullTime
Posted 17 days ago