Which programming language builds on C and adds object-oriented features?

Prepare for the comprehensive NLC Digital Citizenship Exam with our quiz. Engage with multiple-choice questions, detailed explanations, and essential digital citizenship content. Enhance your readiness and confidence for the test!

The programming language that builds on C and adds object-oriented features is C++. This language was developed as an enhancement of the original C, incorporating features that facilitate the use of objects in programming—such as classes, inheritance, and polymorphism. These object-oriented principles are essential for modern software development, promoting code reuse and better organization.

C++, with its foundational base in C, allows for a degree of compatibility with C code, making it possible to integrate existing C programs into new C++ applications. This development makes C++ a powerful language for both systems programming and application development, bridging the gap between procedural programming (as seen in C) and the more abstract principles of object-oriented programming.

Other options may denote principles related to programming but do not serve as direct enhancements of C in the same way. C remains a fundamental procedural programming language without built-in object-oriented features. Java, while it is an object-oriented language, was designed independently and does not directly build on C; it introduces its own syntax and principles. Similarly, Swift is a modern programming language developed by Apple that is not based on C and has different design goals.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy