ASSIGNMENT Java1
ASSIGNMENT Java1
d) All of these
2) The concept of the menu bar can be implemented by using three java classes—
a) MenuBar
b) Menu
c) MenuItem
d) All of these
a) Class
b) Object
c) Int
d) String
5) The classes and interfaces defined in AWT are contained within the ______ package.
a) java.awt.*
b) java.sql.*
c) java.io.*
d) java.int
6) The AWT container is an instance of the ___________ class which holds various components and
other containers
a) Graphics
b) Container
c) Eventobj
d) None of these
a) Graphical
b) User interactive
c) Both a & b
d) None of these
8) AWT means
9) Positions the components into five regions: east, west, north, south, center
a) BorderLayout
b) CardLayout
c) GridLayout
d) FlowLayout
10)Arranges the components as a deck of cards such that only one component is visible at a time
a) BorderLayout
b) CardLayout
c) GridLayout
d) FlowLayout