SOFTWARE TESTING
TESTING PRINCIPLES AND CONCEPTS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which Java package contains all of the classes for creating user interfaces and for painting graphics and images? (Unit 8)
|
java.applet
|
|
java.awt
|
|
java.net
|
|
java.util
|
Explanation:
Detailed explanation-1: -awt Description. Contains all of the classes for creating user interfaces and for painting graphics and images. A user interface object such as a button or a scrollbar is called, in AWT terminology, a component. The Component class is the root of all AWT components.
Detailed explanation-2: -AWT stands for Abstract window toolkit is an Application programming interface (API) for creating Graphical User Interface (GUI) in Java. It allows Java programmers to develop window-based applications. AWT provides various components like button, label, checkbox, etc. used as objects inside a Java Program.
Detailed explanation-3: -The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming.
There is 1 question to complete.