GWT Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to GWT. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : C

Explaination

A module entry-point is any class that is assignable to EntryPoint and that can be constructed without parameters. When a module is loaded, every entry point class is instantiated and its EntryPoint.onModuleLoad() method gets called.

Q 4 - Which of the following gwt widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout?

A - Label

B - HTML

C - Image

D - Anchor

Answer : A

Explaination

Label widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout.

Q 5 - Which of the following gwt widget represents a standard check box?

A - CheckBox

B - GWTCheckBox

C - RadioBox

D - RadioButton

Answer : A

Explaination

CheckBox widget represents a standard check box. This class also serves as a base class for RadioButton.

Q 6 - Which of the following gwt widget represents a standard GWT date picker?

A - Date

B - DateTime

C - DatePicker

D - GWTDatePicker

Answer : C

Explaination

DatePicker widget represents a standard GWT date picker.

Q 7 - Which of the following panel arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets?

A - HorizontalSplitPanel

B - VerticalSplitPanel

C - HorizontalPanel

D - VerticalPanel

Answer : A

Explaination

HorizontalSplitPanel widget represents a panel that arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets. Widgets contained within a HorizontalSplitPanel will be automatically decorated with scrollbars when necessary.

Q 8 - Which of the following GWT widget represents a simple panel that makes its contents focusable?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : D

Explaination

FocusPanel widget represents a simple panel that makes its contents focusable, and adds the ability to catch mouse and keyboard events.

Q 10 - Which of the following logger logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : A

Explaination

SystemLogHandler logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.

gwt_questions_answers.htm
Advertisements