• Post Reply Bookmark Topic Watch Topic
  • New Topic

nikunj.jhala  RSS feed

 
nikunj jhala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi this is Nikunj Jhala...

i know that reference type stored on heap, first time compiler will take time to allocate memory , but provide access fast to retrive object so that heap is used

but tell me little it technical soln why reference type is not stored on stack ( according to me because stack has one rule -> FIFO) because of thuis reason or tell me other???
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nikunj jhala
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseAMeaningfulSubjectLine
And.
CarefullyChooseOneForum
Again, welcome to JavaRanch and good luck with your question.
-Ben
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is for questions about Servlets.
Moving your core Java question to Java In General (Intermediate)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!