Which category does java.awt.Container belong to? 1.interface 2.abstract class 3.normal class 4.none of the above Key answer is 3. But I think it is 2. Can someone explain this? Thanks!
it is 3. In the JDK1.2 API, the container class is declared as: public class Container extends Component [This message has been edited by bante (edited July 04, 2000).]
In JDK 1.1, Container was abstract. They made it a regular class for JDK 1.2 - I suspect the change has something to do with the development of the Swing classes but I have never seen an explanation.