What is difference between adapter class and listener?
No Answer is Posted For this Question
Be the First to Post Answer
What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }
what is abstract class in Java?
Why string is immutable with example?
Explain the meaning of java applet.
What are functions in java?
What is the memory leak in java?
Under what circumstances an object reference be cast to an interface reference?
What classes of exceptions, caught by a catch clause?
why we r not use pointers in corejava?
what models are available for event handling?
What are the advantages of functions?
Are nested try statements are possible?