ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
All Window Tools
|
|
All Writing Tools
|
|
Abstract Window Toolkit
|
|
Abstract Writing Toolkit
|
Detailed explanation-1: -The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: A set of native user interface components. A robust event-handling model.
Detailed explanation-2: -The Toolkit object is an abstract class that provides an interface to platform-specific details like window size, available fonts, and printing. Every platform that supports Java must provide a concrete class that extends the Toolkit class.
Detailed explanation-3: -Because having a contextless concrete Graphics class doesn’t make sense. The Graphics class is abstract so that components using the Graphics class can provide a custom concrete implementation of it that is specific to the component and in cases even platform-specific.