GWT Online Quiz


Advertisements


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

Q 2 - Which method of a entry-point class is called when GWT application starts?

A - main()

B - onModuleLoad()

C - process()

D - execute()

Answer : B

Explaination

onModuleLoad() function gets called and acts similar to main method of a java application.

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 represents a normal push button with custom styling?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : B

Explaination

PushButton widget represents a normal push button with custom styling.

Q 6 - Which of the following gwt widget represents a hidden field?

A - TextArea

B - GWTHidden

C - Hidden

D - TextBox

Answer : C

Explaination

Hidden widget represents a hidden field.

Q 7 - Which GWT widget represents a browsable view of a tree in which only a single node per level may be open at one time?

A - CellTable

B - CellBrowser

C - CellTree

D - CellList

Answer : B

Explaination

CellBrowser widget represents a browsable view of a tree in which only a single node per level may be open at one time. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.

Q 8 - Which of the following GWT widget wraps its contents in an HTML <FORM> element?

A - Composite

B - FormPanel

C - PopupPanel

D - DialogBox

Answer : B

Explaination

FormPanel widget represents a panel that wraps its contents in an HTML <FORM> element.

Q 10 - Which tag of *.gwt.xml is used to support internationalization in GWT application?

A - extend-property

B - property

C - value

D - None of the above.

Answer : A

Explaination

extend-property tag with attribute name set as locale and values as language specific locale, say de for german locale.


gwt_questions_answers.htm

Advertisements