{text : "SAPUI5 Example", tooltip: "Learning SAPUI5", width: "80px"});

, 3.

var oText = new sap.m.Text(oText.setValue = "SAPUI5 Example";


 oText.setTooltip = "Learning SAPUI5";


 oText.setWidth = "80px";


, 4.

var oText = new sap.m.Text(

oText.setValue("SAPUI5 Example");


 oText.setTooltip("Learning SAPUI5");


 oText.setWidth("80px");


">
MCQs > Softwares & Applications > SAP UI5 > Correct code of a constructor, which is used for creating a new text control that says 'SAPUI5 Example' with tooltip value 'Learning SAPUI5' and width '80px'?

SAP UI5 MCQs

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

Answer

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

SAP UI5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

SAP UI5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it