Question: What's true about OOP in C++? o One class per .hl.cpp file combination o this is a pointer in C++ and therefore we use ->

What's true about OOP in C++? o One class per .hl.cpp file combination o "this" is a pointer in C++ and therefore we use -> to access from it In C++ structs are fully OOP but it changes the base assumption of visibility from private to public o Generally follows a pattern of forward declaration in a .h file and definitions in a .cpp file o We can directly deference this to use the dot-operator similar to Java: *this.doStuff()?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!