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

Explanation

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

Answer : C

Explanation

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 5 - Which of the following gwt widget represents a standard push button?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : A

Explanation

Button widget represents a standard push button.

Q 6 - Which GWT widget represents a tabular view that supports paging and columns?

A - CellTable

B - Tree

C - CellTree

D - CellList

Answer : A

Explanation

CellTable widget represents a tabular view that supports paging and columns.

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

Explanation

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 represents a simple panel that wraps its contents in a scrollable area?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : C

Explanation

ScrollPanel widget represents a simple panel that wraps its contents in a scrollable area.

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

Explanation

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 by calling method GWT.log. These messages can only be seen in Development Mode in the DevMode window.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : B

Explanation

DevelopmentModeLogHandler logs by calling method GWT.log. These messages can only be seen in Development Mode in the DevMode window.


gwt_questions_answers.htm

Advertisements