What are synchronized methods and synchronized statements in java programming?
No Answer is Posted For this Question
Be the First to Post Answer
how to one war file class to another war file class?
Have you ever used hashtable and dictionary?
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?
What is the difference between the direct buffer and non-direct buffer in java?
How do you remove an element from an arraylist in java?
What is data structure in java?
Tell me the Importent classes in net package?
What are "methods" and "fields"?
What package is math in java?
explain different ways of using thread? : Java thread
what is object deep copy and shallow copy and why it is required?
Does printwriter create a file?