There is a certain class, 褋lass A_class; it has an int b; property int b; and void action(); method void action(); which contains some code.
So, what will happen if in several places of the code to create objects of this class in the amount of two or more such as A_class C; A_class D; A_class C; A_class D; Full copies of objects will be created?
The executable code of the action() method will also be stored twice? And if memory is allocated dynamically through new ? And how will the explicit constructor be stored in such cases? Will the compiler try to optimize the code and remove copies of the methods?