Bookmark Topic Watch Topic
  • New Topic

java

 
manju pillaiyar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Suppose If we have variable ' I ' in run method, If I can create one or more thread each thread will occupy a separate copy or same variable will be shared ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
manju pillaiyar,

Before posting any more, please see our guide for asking questions on JavaRanch:
http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch

In particular, please see:
http://faq.javaranch.com/java/UseAMeaningfulSubjectLine
This whole site is about Java so a subject line of "java" is exactly useless.

Also, please see:
http://faq.javaranch.com/java/CarefullyChooseOneForum
This forum is for servlet questions.
You've already had two other threads moved to more appropriate fora.
Please take a second to browse the titles and select the correct forum for your question.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!