当前位置:SCJP程序员认证考试题库

问题:

[单选]

import java.util.*; 
public class PQ { 
public static void main(String[] args) { 
PriorityQueue pq = new PriorityQueue(); 
pq.add(”carrot”);
pq.add(”apple”); 
pq.add(”banana”); 
System.out.println(pq.poll() +”:” + pq.peek());
} 
} 
What is the result?() 

A .  apple:apple
B .  carrot:apple
C .  apple:banana
D .  banana:apple
E .  carrot:carrot
F .  carrot:banana

形成评价是对计划实施()的评价。 之前。 之中。 之后。 全过程。 人的心理活动大体分为()个过程 一。 二。 三。 四。 奥苏伯尔将符号学习、概念学习、命题学习统称为() 意义学习。 发现学习。 接受学习。 机械学习。 简述道德理想、道德原则、道德规则的关系。 对压力测量仪表取压点的位置有何要求?

import java.util.*; 
public class PQ { 
public static void main(String[] args) { 
PriorityQueue pq = new PriorityQueue(); 
pq.add(”carrot”);
pq.add(”apple”); 
pq.add(”banana”); 
System.out.println(pq.poll() +”:” + pq.peek());
} 
} 
What is the result?() 

参考答案:

  参考解析

本题暂无解析

在线 客服