Swift Practice Test

Swift Case Studies & Practical Application 2

Free · Instant Results

You're building a banking app where a `Transaction` must always have a non-zero `amount`. Which Swift feature best enforces this at the type level?
▶ Start Practice Test