Quiz Champion

The programming language 'Swift' was created to replace what other programming language?

  • Ruby
  • C#
  • Objective-C
  • C++
Explanation

The programming language Swift was created to replace Objective-C. Objective-C was considered outdated and had certain limitations, such as poor memory management and a complex syntax. Swift was designed to overcome these issues and provide a more efficient and modern language for iOS and macOS development. It offered improved performance, easier syntax, enhanced memory management, and additional features, making it a desirable alternative to Objective-C in the Apple ecosystem.