Which language, developed as an extension of the C programming language, added object-oriented features?

Prepare for the 241 Computer Science Certification Exam with comprehensive flashcards and multiple choice questions. Enhance knowledge with explanations and hints to excel in your test journey!

Multiple Choice

Which language, developed as an extension of the C programming language, added object-oriented features?

Explanation:
Object-oriented features were added by evolving C into a new language designed to support classes, objects, and related concepts. This language was developed as an extension of C to bring in inheritance, polymorphism, and templates, allowing programmers to model real-world entities and write reusable, modular code while still benefiting from C’s performance and syntax. That combination—building on C with object-oriented capabilities—makes the language the direct extension of C. Other options either refer to the original base language (C), are separate languages (Basic), or are influenced by C but not created as an extension of it (Java).

Object-oriented features were added by evolving C into a new language designed to support classes, objects, and related concepts. This language was developed as an extension of C to bring in inheritance, polymorphism, and templates, allowing programmers to model real-world entities and write reusable, modular code while still benefiting from C’s performance and syntax. That combination—building on C with object-oriented capabilities—makes the language the direct extension of C. Other options either refer to the original base language (C), are separate languages (Basic), or are influenced by C but not created as an extension of it (Java).

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy