当前位置: 技术问答>java相关
scjp试题,求解!
来源: 互联网 发布时间:2015-07-16
本文导语: 1,Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide ...
1,Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.
2。When creating a class that associates a set of keys with a set of values, which of these interfaces is most applicable?
1) Collection
2) Set
3) SortedSet
4) Map
2。When creating a class that associates a set of keys with a set of values, which of these interfaces is most applicable?
1) Collection
2) Set
3) SortedSet
4) Map
|
3吧
我记的不太清楚了,
我记的不太清楚了,
|
2 不行吗
|
对1不熟
2是4
2是4
|
当然是3啦
题目说要最合适的
上文说明是key,已排序的集合最好啦。
题目说要最合适的
上文说明是key,已排序的集合最好啦。