pravin


{ City } namakkal
< Country > india
* Profession *
User No # 52124
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 6
Users Marked my Answers as Wrong # 3
Questions / { pravin }
Questions Answers Category Views Company eMail




Answers / { pravin }

Question { 8179 }

In which memory a class gets stored(in heap /in stack)?
And why??


Answer

The stack is a place in the computer memory where all the variables that are declared and initialized before runtime are stored. The heap is the section of computer memory where all the variables created or initialized at runtime are stored.
Hence,classes will be stored in heap memory.

Is This Answer Correct ?    6 Yes 3 No