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

The most important public resource is host page which is used to invoke actual GWT application. A typical HTML host page for an application might not include any visible HTML body content at all but it is always expected to include GWT application via a <script.../> tag.

Q 4 - Which of the following class is the superclass of all user-interface classes?

A - UIObject

B - Widget

C - Panel

D - None of the above.

Answer : A

Explaination

The class UIObject is the superclass for all user-interface objects.

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 rich text editor?

A - GWTRichTextArea

B - ListBox

C - RichTextArea

D - TextBox

Answer : C

Explaination

RichTextArea widget represents a rich text editor.

Q 7 - Which of the following panel lays all of its widgets out in a single horizontal column?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : C

Explaination

HorizontalPanel widget represents a panel that lays all of its widgets out in a single horizontal column.

Q 8 - Which of the following GWT widget represents a simple panel that wraps its contents in a scrollable area?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : C

Explaination

ScrollPanel widget represents a simple panel that wraps its contents in a scrollable area.

Q 9 - Which of the following interface a java data object should implement so that it can be transferred over the wire in GWT RPC?

A - isSerializable

B - isTransferrable

C - isWirable

D - wirable

Answer : A

Explaination

A java data object should implement isSerializable interface so that it can be transferred over the wire in GWT RPC.

Q 10 - Which of the following logger logs to the javascript console, which is used by Firebug Lite (for IE), Safari and Chrome.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : C

Explaination

ConsoleLogHandler logs to the javascript console, which is used by Firebug Lite (for IE), Safari and Chrome.

gwt_questions_answers.htm
Advertisements