[Solved] Can a property of a class be the class itself? [closed]
[ad_1] Yes it can have, this is called self-referencing class. Why it is not a compiler issue ? Because you create a pointer to the object of same type, not the object. This is frequently seen in C / C++ data structures like Linked List. 1 [ad_2] solved Can a property of a class be … Read more