Question

Which of the following statements accurately describes the object-oriented programming (OO

  • P support in Java and C?
A Java supports object-oriented programming (OOP) natively, while C is a procedural programming language and does not support OOP.
B Both Java and C support object-oriented programming (OOP) natively and provide classes and objects as fundamental concepts.
C Java supports object-oriented programming (OOP) through classes and objects, while C supports OOP using structures and function pointers.
D C supports object-oriented programming (OOP) through its class-based system, while Java uses procedural programming paradigms.
E Java and C both support object-oriented programming (OOP) using interfaces and inheritance as primary features.
Practice Next

Hey! Ask a query