var oText = new sap.m.Text(oText.setValue = "SAPUI5 Example";
oText.setTooltip = "Learning SAPUI5";
oText.setWidth = "80px";
var oText = new sap.m.Text(
oText.setValue("SAPUI5 Example");
oText.setTooltip("Learning SAPUI5");
oText.setWidth("80px");
Which of the following is the correct code snippet of a constructor, which is used for creating a new text control that says "SAPUI5 Example" with tooltip value "Learning SAPUI5" and width "80px"?
Correct Answer:
var oText = new sap.m.Text(
oText.setValue("SAPUI5 Example");
oText.setTooltip("Learning SAPUI5");
oText.setWidth("80px");
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More SAP UI5 MCQ Questions