1
Reply

where does class veriables and globle variables gets stored after creating the object of the class?

Yogesh Jadhav

Yogesh Jadhav

11y
2.3k
0
Reply

    When object of a class is created, 1. class level variables are stored in Heap inside object. 2. Value type variables inside a function goes in stack.