What is Object Decomposition?

后端 未结 3 1476
小蘑菇
小蘑菇 2021-02-14 04:10

I was trying to understand what object decomposition means and read a lot of stuff on internet but every resource talks in terms of lots of keywords that i couldn\'t understand.

3条回答
  •  隐瞒了意图╮
    2021-02-14 04:25

    By saying composition, in C++, it means you set a object from a class that I named it A (maybe containing three data members, for example three built in type as integers to not make things too complicated) into another class that I named B (and possibly together to others data members belonging to class B).

    In turn, muy actual puzzle is to figure out how to decompose this object from class A that was included in class B. As almost 50% of the time,(not refering& to this site because this is my first active participation) let me go because I khnow I won´t have a concrete help...so let me go to dig down into my collection two feet height C++ books and study

提交回复
热议问题