nerdexam
SAP

C_FIORDEV_21 · Question #66

You want to define a property with the name width to enhance a standard UI5 control. The property should hold the current width of the UI control. What is the best approach to defining the type of…

The correct answer is C. Define the property width of the type sap.ui.core.CSSSize. See the full explanation below for the reasoning.

Question

You want to define a property with the name width to enhance a standard UI5 control. The property should hold the current width of the UI control. What is the best approach to defining the type of such a property?

Options

  • ADefine the property width of the type sap.ui.core.Integer.
  • BDefine the property width of the type string.
  • CDefine the property width of the type sap.ui.core.CSSSize.
  • DDefine the property width of the type sap.ui.core.type.CSSSize.

How the community answered

(26 responses)
  • A
    19% (5)
  • B
    8% (2)
  • C
    69% (18)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full C_FIORDEV_21 Practice