Podcast
Questions and Answers
A label is a simple control which is used to display_____________ on the window:
A label is a simple control which is used to display_____________ on the window:
- Text(non-editable) (correct)
- Text(editable)
- Both a & b
- None of these
Which type of container do not have any type of menubar?
Which type of container do not have any type of menubar?
- Frame
- Panel (correct)
- Applet
- None of this
MVC means Model View ___________
MVC means Model View ___________
- Container
- Class
- Controller (correct)
- Cast
The interface is used to handle the menu events
The interface is used to handle the menu events
The ActionListener interface is not used for handling action events?
The ActionListener interface is not used for handling action events?
Which class is used for this processing method processActionEvent()?
Which class is used for this processing method processActionEvent()?
Which event is generated when the position of scrollbar is changed?
Which event is generated when the position of scrollbar is changed?
A Frame's _______________ designates the area of the frame
excluding the title,menu bar and the border.
A Frame's _______________ designates the area of the frame excluding the title,menu bar and the border.
At the top of the AWT hierarchy is the__________________ class.
At the top of the AWT hierarchy is the__________________ class.
By default the Frame has a _______________________________
By default the Frame has a _______________________________
By which method You can set or change the text in a Label?
By which method You can set or change the text in a Label?
BorderLayout b = new BorderLayout(3,4);
The above statement is incorrect
BorderLayout b = new BorderLayout(3,4); The above statement is incorrect
By default flowlayout uses __________justification.
By default flowlayout uses __________justification.
Border Layout is divided into_________regions.
Border Layout is divided into_________regions.
Combobox is a combination of ________________________
Combobox is a combination of ________________________
Default layout manager for Window is
Default layout manager for Window is
How To Apply Image To Button ?
How To Apply Image To Button ?
In AWT Checkbox class is used to create __________
In AWT Checkbox class is used to create __________
How would you set the color of a graphics context called g to cyan?
How would you set the color of a graphics context called g to cyan?
AWT is heavy weight component
AWT is heavy weight component
setMenuBar() method of which class?
setMenuBar() method of which class?
In given constructor what 3rd
parameter indictaes
Scrollbar s=new
Scrollbar(0,10,20,0,1000)
In given constructor what 3rd parameter indictaes Scrollbar s=new Scrollbar(0,10,20,0,1000)
In order to obtain currunt value of
scrollbar at run time which method you
will use
In order to obtain currunt value of scrollbar at run time which method you will use
What is point?
What is point?
what will be the output
what will be the output
Which of the following are the methods of checkbox
Which of the following are the methods of checkbox
What is API
What is API
_____________ method returns currently selected item in choice.
_____________ method returns currently selected item in choice.
Which of the method can be used to output a String in an Applet?
Which of the method can be used to output a String in an Applet?
What are the types of DialogBox?
What are the types of DialogBox?
The following way is used to create a frame is by creating the object of Frame class?
The following way is used to create a frame is by creating the object of Frame class?
Panel class is a concrete sub-class of container.
Panel class is a concrete sub-class of container.
When there is a switching condition like ON or OFF, which control is used of following?
When there is a switching condition like ON or OFF, which control is used of following?
All Component on Container can be removed by calling following
method
All Component on Container can be removed by calling following method
Canvas is a ________________
Canvas is a ________________
Which is the container that contain title bar and can have MenuBars.It can have other components likenbutton,textfield etc.?
Which is the container that contain title bar and can have MenuBars.It can have other components likenbutton,textfield etc.?
Which class provides many methods for graphics programming?
Which class provides many methods for graphics programming?
The getContentPane() method is of which clasS?
The getContentPane() method is of which clasS?
Frame is a standard window, which is _______________ of window class from AWT hierarchy?
Frame is a standard window, which is _______________ of window class from AWT hierarchy?
Which of these classes can be added to any Container class, using the add method defined in Container class?
Which of these classes can be added to any Container class, using the add method defined in Container class?
The method _________________ places a Menu m into the MenuBar mb.
The method _________________ places a Menu m into the MenuBar mb.
________________ is a swing class that allows to enter a singleline of text.
________________ is a swing class that allows to enter a singleline of text.
The correct hierarchy for Panel is___________________
The correct hierarchy for Panel is___________________
Controls not supported by awt are
Controls not supported by awt are
Executable applet is nothing but _________ file of applet
Executable applet is nothing but _________ file of applet
In FlowLayout manager the default space between each component is
In FlowLayout manager the default space between each component is
Scrollbar( ) creates a ______________ scroll bar by default.
Scrollbar( ) creates a ______________ scroll bar by default.
Text field usually called as
Text field usually called as
The method setLabel can be used with what type of Object ?
The method setLabel can be used with what type of Object ?
To retrieve the current state of a check box,call
To retrieve the current state of a check box,call
Which Among the below is not an AWT class.
Which Among the below is not an AWT class.
Which of the following are the methods of choice
Which of the following are the methods of choice
Which of the following is the correct method of scrollbar
Which of the following is the correct method of scrollbar
Which class can be used to represent a checkbox with a textual label that can appear in a
menu. Select the one correct answer.
Which class can be used to represent a checkbox with a textual label that can appear in a menu. Select the one correct answer.
What will be the output of line 5
What will be the output of line 5
Which components are reuired to get following output
Which components are reuired to get following output
Select one option
Select one option
Which is the correct constructor of GridLayout
Which is the correct constructor of GridLayout
init() method exectues only once.
init() method exectues only once.
Which of the following controls does not support interaction with user?
Which of the following controls does not support interaction with user?
Select any one
Select any one
Select any one
Select any one
Which components are used in the following output
Which components are used in the following output
Choose the correct sequence for the following output
Choose the correct sequence for the following output
Components in the frame is added at appropriate place using
Components in the frame is added at appropriate place using
Multiple layouts in the single conainer can be created with the help of
Multiple layouts in the single conainer can be created with the help of
Say that a Frame contains three Panels. Could each Panel have a
different layout manager?
Say that a Frame contains three Panels. Could each Panel have a different layout manager?
Which statement with respect to inner class is true.
Which statement with respect to inner class is true.
The set Background() method is part of which of the following class java.awt package
The set Background() method is part of which of the following class java.awt package
How many types of controls does AWT supports these controls are Subclasses of component?
How many types of controls does AWT supports these controls are Subclasses of component?