What are synchronized methods and synchronized statements in java programming?


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

Post New Answer

More Core Java Interview Questions

how to one war file class to another war file class?

0 Answers  


Have you ever used hashtable and dictionary?

0 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


What is the difference between the direct buffer and non-direct buffer in java?

0 Answers  


How do you remove an element from an arraylist in java?

0 Answers  






What is data structure in java?

0 Answers  


Tell me the Importent classes in net package?

0 Answers  


What are "methods" and "fields"?

0 Answers   Wipro,


What package is math in java?

0 Answers  


explain different ways of using thread? : Java thread

0 Answers  


what is object deep copy and shallow copy and why it is required?

2 Answers  


Does printwriter create a file?

0 Answers  


Categories