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

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 contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout?

A - Label

B - HTML

C - Image

D - Anchor

Answer : A

Explaination

Label widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout.

Q 5 - Which of the following gwt widget represents a simple <a> element?

A - Label

B - HTML

C - Image

D - Anchor

Answer : D

Explaination

Anchor widget represents a simple <a> element.

Q 6 - Which of the following gwt widget represents a standard GWT date picker?

A - Date

B - DateTime

C - DatePicker

D - GWTDatePicker

Answer : C

Explaination

DatePicker widget represents a standard GWT date picker.

Q 7 - Which of the following panel arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the hight dedicated to each of the two widgets?

A - HorizontalSplitPanel

B - VerticalSplitPanel

C - HorizontalPanel

D - VerticalPanel

Answer : B

Explaination

VerticalSplitPanel widget represents a A panel that arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the height dedicated to each of the two widgets. Widgets contained within a VertialSplitPanel will be automatically decorated with scrollbars when necessary.

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