Exam4Training

Now a Text component is used as the title of a page, and Text needs to be set to be invisible, but it still occupies the current layout space, which of the following is correct?

Now a Text component is used as the title of a page, and Text needs to be set to be invisible, but it still occupies the current layout space, which of the following is correct?
A . ohos:visibility= hide
B . text.setVisibility(Component. VISIBLE)
C . ohos:visibility=visible
D . ohos: visibi1ity=invisible

Answer: D

Exit mobile version