hi guys, finally i completed my collections and generics from k&b i was quite sure that i no everything about this chapter and can solve all its problems.......
but there are lots of things that k&b hadnt mentioned even......things are directly coming out in questions.
for example, in this question:
public static void main(string arg)
Queue<String> q=new LinkedList<String>(); //how queue<string> is refering linked list,it should give error here.SO KINDLY EXPLAIN ABOUT THIS!!
public static void ShowAll(Queue q)
what is the result?
I AM GETTING EVERYTHING in this program but only the commented line i am not getting at al l!!
ANS: ver wall dun 42