What is the purpose of the return statement?
No Answer is Posted For this Question
Be the First to Post Answer
Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
How do you identify if jvm is 32-bit or 64-bit from java program?
What are static initalizers in java ?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
Difference between Reader/Writer and InputStream/Output Stream?
9 Answers Adobe, Kirusa, Verizon,
What is callable java?
What are the legal operands of the instanceof operator?
What is methodological framework?
What is the purpose of the system class in java programming?
What is an object-oriented paradigm?
What is final modifier?
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()); } }