Can arraylist hold different types java?
No Answer is Posted For this Question
Be the First to Post Answer
What is adapter in java?
What is the common usage of serialization?
What is singleton class in java and how can we make a class singleton?
we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Enlist few advantages of inheritance?
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 do you mean by Function Overloading in java?
What is an example of procedure?
What are event-delegation model and event-inheritance model? Which is best?
What is a Wrapper class?
What is a stack class in java ?
0 Answers Akamai Technologies,