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

Explaination

*.nocache.js file contains the javascript code required to resolve deferred binding configuarations (for example, browser detection) and to use lookup table generated by GWT compiler to locate one of the .cache.html.

Q 4 - Which of the following class is the superclass of all user-interface classes?

A - UIObject

B - Widget

C - Panel

D - None of the above.

Answer : A

Explaination

The class UIObject is the superclass for all user-interface objects.

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 of the following panel arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets?

A - HorizontalSplitPanel

B - VerticalSplitPanel

C - HorizontalPanel

D - VerticalPanel

Answer : A

Explaination

HorizontalSplitPanel widget represents a panel that arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets. Widgets contained within a HorizontalSplitPanel will be automatically decorated with scrollbars when necessary.

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.

Q 10 - Which of the following internationalization technique uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values?

A - Static String Internationalization

B - Dynamic String Internationalization

C - Localizable Interface

D - None of the above.

Answer : A

Explaination

Static String Internationalization is most prevalent and requires very little overhead at runtime; is a very efficient technique for translating both constant and parameterized strings;simplest to implement. Static string internationalization uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values.

gwt_questions_answers.htm
Advertisements