Y does Container give referances of ServletConfig to name/value init parameters rather than ServletConfig object getting the refernaces from name/value init parameters .
I wrote my JAVA CERTIFIATION(SCJP) long back.... say MAY of this year, but till i didnot recieve any kit from them nor did I receieve ICON from them so that i can post in my resume. I need to have the ICON which i want to post it ..... how can i do that..
LinkedList l = new LinkedList(); ArrayList ar = new ArrayList( l); so if i want to add something into the list how should i is it this way ar.add(l.add("c"));
actual ArrayList syntax is ArrayList a = new ArrayList().
So i created an array of ArrayList ie
i created array size of 3 each of type arrayList so at this point ar[0],ar[1],ar[2] are just variables of type ArrayList are created but are pointing to null . so until unless we redirect this from null to actual Arraylists they will be with null. and accessing a null object produces null pointer exception.
by assiginig where k2 = 0,1,2
we are redirecting the variable to ArrayList object.