Actually I was asked this question recently in an interview , I answered stack , am I right as I thought that threads would be executing methods, but could you please explain as why threads get created in stack or if not then why is it created in heap.
Thanks in advance