Are object's privitive members on the heap or on the stack?
===

Take any OOPs language with referencing as basic structure like java and c#.

For fast execution, they also support primitive types like int and char.
I think this is done by storing them on the stack.
and object types on the heap.

so for this:
    
    class B
    {
     ...
    }

    class A
    {
       int a;
       B b;
    }

Is A.a is in stack or on heap ?
