I read lot of articles about garbage collection and almost all article tells about heap memory. so my question is \"garbage collection collects stack memory or heap memory or bo
Stack is last in first out so there is no need to garbage collect.
--corrected-- duh!