Question: Which one is true regarding below swift code? class ViewController: UIViewController, DataPass { var GameType: Int = 0 var NoCorrect = 0 } Question 4

Which one is true regarding below swift code?
class ViewController: UIViewController, DataPass {
var GameType: Int =0
var NoCorrect =0
}
Question 4 options:
1.NoCorrect is IBAction variable
2.GameType is IBOutlet variable.
3.ViewController class complies with DataPass protocol.
4.ViewController class is child of UIViewController protocol.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!