What package is math in java?
What is parameter tag and what is its use?
How do you sort in descending order in java using collections sort?
Explain creating threads by extending thread class ?
How do you convert bytes to character in java?
Can you call a constructor within a constructor?
How to implement an arraylist in java?
What is the method to expand and collapse nodes in a jtree?
How Array List can be Serialized.
What is AppletStub?
How does JAVA ClassLoader work?
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 the difference b/w static and final methods?