下列定义字体对象ft的语句中,正确的是___________。
A: Dim ft As New Font("隶书", 18)
B: Dim ft As Font = New Font("隶书", 18)
C: Dim ft As Font = ("隶书", 18)
D: Dim ft("隶书", 18) As Font
E: Dim ft = Font ("隶书", 18)
A: Dim ft As New Font("隶书", 18)
B: Dim ft As Font = New Font("隶书", 18)
C: Dim ft As Font = ("隶书", 18)
D: Dim ft("隶书", 18) As Font
E: Dim ft = Font ("隶书", 18)
举一反三
- 下列定义字体对象ft的语句中,正确的是___________。 A: Dim ft As New Font("隶书", 18) B: Dim ft As Font = New Font("隶书", 18) C: Dim ft As Font = ("隶书", 18) D: Dim ft("隶书", 18) As Font E: Dim ft = Font ("隶书", 18)
- 下列定义字体对象ft的语句中,正确的是___________。 A: Dim ft As New Font("隶书", 18) B: Dim ft As Font = New Font("隶书", 18) C: Dim ft As Font = ("隶书", 18) D: Dim ft("隶书", 18) As Font E: Dim ft = Font ("隶书", 18)
- 下面( )是ID的样式规则定义。 A: TR{clore:red;font-family:"隶书";font-size:24px;} B: H2{color:red;font-family:"隶书";} C: D: grass{color:green;font- family:"隶书"; font-size:24px;} E: P{background-color: F: CCFF33;text-align:left;}
- 定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };
- 下列定义字符串数组的语法正确的是( )? A: String[] list = new String[]{"red", "yellow", "green"}; B: String list = new String{"red", "yellow", "green"}; C: String list = {"red", "yellow", "green"}; D: String[] list = {"red", "yellow", "green"};