i had an array list statically like
List l=new ArrayList();
l.add("1");
l.add("2");
l.add("3");
l.add("4");
l.add("5");
but i want to get the database column values in to my array list dynamically how this can be achieved please suggest me this im using oracle xe
List<String> l = new ArrayList<String>();. There is no reason to avoid the extra type-safety and clarity it gives you.