Need some answer
>> What is the difference between struts and swing in respect of MVC implimentation?
>> If i am Enumerating/Iterating on Object, then is it Creating a object copy and then iterating on that or Iterating on original object?
>> Why sun has created the String class if we have already StringBuffer class?
>> Why sun people has restructured the Collection framework?
thanks in advance
# 1
> >> What is the difference between struts and swing in
> respect of MVC implimentation?
Struts provides a framework where you have a guideline for implementing the view and the controller but there is no real guideline on how the business model and database interactions should be designed. Spring is a more complete framework in this regard. Spring can easily incorporate other frameworks too.
> >> If i am Enumerating/Iterating on Object, then is
> it Creating a object copy and then iterating on that
> or Iterating on original object?
It's the copy you are looking at.
> >> Why sun has created the String class if we have
> already StringBuffer class?
String is an immutable class which could represent it as a String literal too. This is much of a convenience over the character array thing in C. StringBuffer (or StringBuilder which is provided as an alternative in J2SE 5.0) is what is used to manipulate Strings, since there is no concept of operator overloading.
> >> Why sun people has restructured the Collection
> framework?
In what sense are you using the term "restructuring". It was done in 1.1 days as I know.