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?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can a class extends itself in java?

0 Answers  


By what default value is an object reference declared as an instance variable?

1 Answers   Wipro,


why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?

2 Answers   Global Logic, Satyam,


In Java list the methods that can be overridden?

0 Answers   Accenture,


Can a double value be cast to a byte?

3 Answers  






What do you mean by synchronized non access modifier?

0 Answers  


What is the difference between heap and stack memory?

0 Answers  


Can u overload main()method.Give with example.

6 Answers   IBM, Schimatic Technologies,


is it possible to instantiate the math class?

0 Answers  


What is indexof?

0 Answers  


Iterator in the HashMap is fail-safe means what?

9 Answers   CTS, IBM, Subex,


what is generics in jdk1.5?

2 Answers   Bally Technologies,


Categories