下面哪些方法正确创建一个FlowPane面板?
A: new FlowPane()
B: new FlowPane(4, 5)
C: new FlowPane(Orientation.VERTICAL);
D: new FlowPane(4, 5, Orientation.VERTICAL);
A: new FlowPane()
B: new FlowPane(4, 5)
C: new FlowPane(Orientation.VERTICAL);
D: new FlowPane(4, 5, Orientation.VERTICAL);
举一反三
- 能正确创建一个2行5列的int型数组的语句是( ) A: new integer[2][5]; B: new integer[5][2]; C: new int[2][5]; D: new int[1][4];
- 以下关于java中布局管理说法错误的是 A: HBox实现控件的水平排列 B: BorderPane实现控件的边界排列,分为四个区域 C: FlowPane实现一个流式面板 D: GridPane实现一个网格面板
- 下面几条定义一维数组的语句,正确的是 A: int[] arr2 = new int[]; B: int[] arr2 = new int[5]; C: int arr2[] = new int[5]{1, 2, 3, 4, 5}; D: int[] arr2 = new int[5]{1, 2, 3, 4, 5, 6};
- Which one is not the aim of orientation? A: Introduce new employees to the company B: Explain corporate policies to new employees C: Promote new products
- 在JAVA语言中,下面选项声明一个数组用于保存4个参赛者参加5个不同项目的比赛成绩(选一项)*() A: int[][] s = new int[5][6]; B: int[][] s = new int[4][5];(正确答案) C: int[][] s = new int[3][4]; D: int[][] s = new int[5][4];