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

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 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 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 of the following gwt widget represents a file upload?

A - GWTFileUpload

B - FileUpload

C - RichTextArea

D - TextBox

Answer : B

Explaination

FileUpload widget represents a file upload.

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 panel represents a panel that contains HTML, and which can attach child widgets to identified elements within that HTML?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - SimplePanel

Answer : C

Explaination

HTMLPanel represents a panel that contains HTML, and which can attach child widgets to identified elements within that HTML.

Answer : D

Explaination

All of the above options are correct.

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