What is a lambda expression ? What's its use ?
No Answer is Posted For this Question
Be the First to Post Answer
How does synchronized modifier work?
What is final keyword in java?
What is api in java?
Distinguish method overloading and overriding
What is the difference between break and continue statements?
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?
How do you compare characters in java?
did interface can implementation method ? i know its not possible but my interviewer said its possible ..but how..? any one have idea ???
What is the purpose class.forname method?
What is the difference between actual and formal parameters?
What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks
What is bool mean?