COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What does AWT stands for?
A
All Window Tools
B
All Writing Tools
C
Abstract Window Toolkit
D
Abstract Writing Toolkit
Explanation: 

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.

There is 1 question to complete.