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 : B

Explaination

'inherits' tag in *.gwt.xml file adds other gwt module in application just like import does in java applications. Any number of modules can be inherited in this manner.

Q 4 - Which of the following gwt widget can contain HTML text and displays the html content using a <div> element, causing it to be displayed with block layout?

A - Label

B - HTML

C - Image

D - Anchor

Answer : B

Explaination

HTML widget can contain HTML text and displays the html content using a <div> element, causing it to be displayed with block layout.

Q 5 - Which of the following gwt widget displays an image at a given URL?

A - Label

B - HTML

C - Image

D - Anchor

Answer : C

Explaination

Image widget displays an image at a given URL.

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 class is the base class of all layout panel classes?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : A

Explaination

Panel is the abstract base class for all panels, which are widgets that can contain other widgets.

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 10 - Which of the following logger logs to Firebug console.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - FirebugLogHandler

Answer : D

Explaination

FirebugLogHandler logs to Firebug console.

gwt_questions_answers.htm
Advertisements