/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package newpackage;
/**
*
* @author Administrator
*/
import java.util.ArrayList;
public class Exp {
static ArrayList<
String> asd=new ArrayList<String>(10);;
public static void main(String args[])
{
System.out.println(asd.size());
}
}
o/p is 0 not 10.
i can't understand why this is so.