The setText() method is a method of the StringItem class. It is used to change the text associated with the StringItem instance. The general syntax of this method is as follows:
Here, the str parameter specifies the text to be displayed with the instance of the StringItem class.
Download free practice test for SUN SCMAD exam. Click here to get free CX310-110 SCMAD Mobile Application Developer exam practice questions.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.