Which of the following approaches is used by C++?
Options
- A. Left-right
- B. Top-down
- C. Bottom-up
- D. More than one of the above
- E. None of the above
Quiz Practice:
C. Bottom-up
Answer: Bottom-up
C++ supports the bottom-up approach, especially through its object-oriented programming features. In a bottom-up approach, smaller components or objects are developed first and then combined to build a complete application.
C++ also supports classes, objects, inheritance, polymorphism and encapsulation, which are important features of object-oriented programming.