How can you share data between two thread in Java?


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

Post New Answer

More Core Java Interview Questions

Which class is the immediate superclass of the Container class?

1 Answers  


In how many ways we can do synchronization in java?

0 Answers  


What is an exception?

6 Answers  


Which command from the jdk compiles a java program?

0 Answers  


What are the performance implications of interfaces over abstract classes?

1 Answers  


What is arraylist class in java?

0 Answers  


hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class

1 Answers  


Explain working of call by reference function invoking.

0 Answers   Amdocs,


GoldMansachs Interview process....

1 Answers   Goldman Sachs,


If a variable is declared as private, where may the variable be accessed?

0 Answers  


Explain jdk, jre and jvm?

0 Answers  


What is a java list?

0 Answers  


Categories