why would you use a synchronized block vs. Synchronized method? : Java thread


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

Post New Answer

More Core Java Interview Questions

Is final static java?

0 Answers  


What are the interfaces defined by Java.lang package?

1 Answers  


How do you sort a string in alphabetical order in java?

0 Answers  


What is the difference between array and arraylist? what is the difference between arraylist and linkedlist?

8 Answers   EDS, Matrix,


What is the benefit of abstract class?

0 Answers  


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

0 Answers  


class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?

9 Answers   Infosys, Wipro,


Can I create any Marker Interface? If yes then how can I use it???

4 Answers  


How many inner classes can a class have?

0 Answers  


What are the different collection views provided by maps?

0 Answers  


What do u mean by variable?

0 Answers  


What do you mean Abstraction in java?

0 Answers   Aspire, Infogain,


Categories