Which of these are keywords in Java?()  

题目
多选题
Which of these are keywords in Java?()
A

default

B

NULL

C

String

D

throws

E

long

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Keywords关键字词


正确答案: 关键字词是人们在搜索引擎中输入的所寻找的信息的核心代表词或者词组。网站优化要在网页中使用人们会经常在搜索引擎中输入的关键字词,才能有机会在搜索结果中被人们发现。关键字词研究是搜索引擎优化的最重要的一步。科学选择关键字词,不仅能使网页获得较高的排名机率,而且能在Google的算法不断更新中保持排名。
关键词标签是网页的HTML用来告诉搜索引擎网页内容的一个标签。早期搜索引擎希望通过这个标签能很快了解网页的主体内容。但是由于搜索优化者滥用这个标签,堆积往往和网页内容不相干的词语,现在已经基本上不被搜索引擎所使用。

第2题:

You need to store elements in a collection that guarantees that no duplicates are stored. Which two interfaces provide that capability?()

  • A、 Java.util.Map
  • B、 Java.util.Set
  • C、 Java.util.List
  • D、 Java.util.StoredSet
  • E、 Java.util.StoredMap
  • F、 Java.util.Collection

正确答案:B,D

第3题:

Given:Which exception or error will be thrown when a programmer attempts to run this code?()

A.java.lang.StackOverflowError

B.java.lang.IllegalStateException

C.java.lang.ExceptionInInitializerError

D.java.lang.ArrayIndexOutOfBoundsException


参考答案:C

第4题:

Which interface does java.util.Hashtable implement?()  

  • A、 java.util.Map
  • B、 java.util.List
  • C、 java.util.Hashable
  • D、 java.util.Collection

正确答案:A

第5题:

Which two elements of the Java Enterprise Application Archive are required?()

  • A、EJB Archive  
  • B、Deployment Descriptor
  • C、META-INF sub directory
  • D、Resource Adapter archive
  • E、Java library

正确答案:A,B

第6题:

网页的META标签是指()

  • A、title、h1、keywords
  • B、description、alt、keywords
  • C、robots、keywords、description
  • D、keywords、description、h2

正确答案:C

第7题:

You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?()  

  • A、Java.util.Map.
  • B、Java.util.Set.
  • C、Java.util.List.
  • D、Java.util.StoredSet.
  • E、Java.util.StoredMap.
  • F、Java.util.Collection.

正确答案:D

第8题:

Given:Which two can be results?()

A. java.lang.RuntimeException: Problem

B. run.java.lang.RuntimeException: Problem

C. End of method.java.lang.RuntimeException: Problem

D. End of method.run.java.lang.RuntimeException: Problem

E. run.java.lang.RuntimeException: Problem End of method.


参考答案:D, E

第9题:

You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()

  • A、<%! import java.util.*; %>
  • B、<%! import java.util.List;import java.util.ArrayList; %>
  • C、<%@ page import=’java.util.List’import=’java.util.ArrayList’ %>
  • D、<%@ import types=’java.util.List’types=’java.util.ArrayList’ %>
  • E、<%@ page import=’java.util.List,java.util.ArrayList’ %>
  • F、<%@ import types=’java.util.List,java.util.ArrayList’ %>

正确答案:C,E

第10题:

public class Foo {  static int[] a;  static { a[0]=2; }  public static void main( String[] args) {}  }  Which exception or error will be thrown when a programmer attempts to run this code?() 

  • A、 java.lang. StackOverflowError
  • B、 java.lang.IllegalStateException
  • C、 java.lang.ExceptionlnlnitializerError
  • D、 java.lang.ArraylndexOutOfBoundsException

正确答案:C

更多相关问题