單項(xiàng)選擇題

Given the following expression about TextField which use a proportional pitch font. 
TextField t = new TextField("they are good",40);   
 Which statement is true?() 

A. The displayed string can use multiple fonts.
B. The maximum number of characters in a line will be 40.
C. The displayed width is exactly 40 characters.
D. The user can edit the characters.

微信掃碼免費(fèi)搜題