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

'entry-point' tag in *.gwt.xml file specifies the name of class which will start loading the GWT Application.

Q 3 - What is the default style name of any GWT widget?

A - gwt-<classname>

B - <classname>-style

C - style-<classname>

D - css-<classname>

Answer : A

Explaination

By default, the class name for each component is gwt-<classname>. For example, the Button widget has a default style of gwt-Button and similar way TextBox widgest has a default style of gwt-TextBox.

Q 5 - Which of the following gwt widget represents a stylish stateful button which allows the user to toggle between up and down states?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : C

Explaination

ToggleButton widget represents a stylish stateful button which allows the user to toggle between up and down states.

Q 6 - Which GWT widget represents a single column list of cells?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : D

Explaination

CellList widget represents a single column list of cells.

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

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : D

Explaination

VerticalPanel widget represents a panel that lays all of its widgets out in a single vertical column.

Q 8 - Which of the following widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : A

Explaination

Composite widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods. When added to a panel, a composite behaves exactly as if the widget it wraps had been added.

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