where does class veriables and globle variables gets stored after creating the object of the class?
Yogesh Jadhav
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.