在文本组件中选中指定的起始和结束位置之间的文本内容的方法是( )。
A.String getText()
B.String getSelectedText()
C.String getText(int offs,int len)
D.void select(int selectionStart, int selectionEnd)
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。