网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

Which of the following statements about declaration are true?()         

  • A、 Declaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.
  • B、 Declaration of primitive types such as boolean, byte and so on allocates memory space for the variable.
  • C、 Declaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.
  • D、 Declaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.

参考答案

更多 “Which of the following statements about declaration are true?()         A、 Declaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.B、 Declaration of primitive types such as boolean, byte and so on allocates memory space for the variable.C、 Declaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.D、 Declaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.” 相关考题
考题 ● (73) statement can perform. a calculation and store the result in a variable so that it can be used later.(73)A. AssignmentB. ControlC. I/OD. Declaration

考题 The liability for a dividend is recorded on which of the following dates?() A、the date of recordB、the date of paymentC、the date of announcementD、the date of declaration

考题 Formanageabilitypurposes,youhavebeentoldtoaddacountinstancevariabletoacriticalJSP DocumentsothataJMXMBeancantrackhowfrequentthisJSPisbeinginvoked.WhichJSPcodesnippetmustyouusetodeclarethisinstancevariableintheJSPDocument?()A.jsp:declarationintcount=0;jsp:declarationB.%!intcount=0;%C.jsp:declaration.instanceintcount=0;.jsp:declaration.instanceD.jsp:scriptlet.declarationintcount=0;.jsp:scriptlet.declaration

考题 执行下列代码段之后,变量b的值为______。 public class ex40 { public static void main(String[] args) { byte x=5; byte y=5; byte c=10; boolean b; b-c<x<<y; System.out.println (b); } }A.1B.0C.falseD.true

考题 Observe the structure of the table employees:The table contains 8475 records.One of the employees wants to know the names of all employees of the company. For this, he fires the following query:SELECT * FROM EMPLOYEES ORDER BY emp_fname;Since the operation performed on executing the query cannot fit into memory, it requires disk space to complete the operation.Which of the following types of segments will Oracle allocate to complete the operation and to provide the required result?()A. Rollback segmentB. Temporary segmentC. Data segmentD. Index segment

考题 Which of the following memory types is unique in that it generates so much heat it requires that the memory modules are covered in heat sinks?() A.RAMBUSB.DDR3C.DDRD.SDRAM

考题 Which of the following are all valid DB2 data types?() A.LONG VARCHAR, SMALLINT, NUMBER, BLOBB.DECIMAL, DATE, DBCLOB, INTERVALC.NUMERIC, TIMESTAMP, BYTE, FLOATD.NUM, TIME, XML, DOUBLE

考题 下面均为Java关键字的一组是()A、boolean,byte,long,trueB、byte, long,true,gotoC、goto ,Boolean,byte,trueD、bool, long,true,auto

考题 Which of the following is regarded as the"Declaration of Intellectual Independence"? A.The American Scholar B.English Traits C.The Conduct of Life D.Representative Men

考题 For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippetmust you use to declare this instance variable in the JSP Document?()A、jsp:declarationint count = 0;jsp:declarationB、%! int count = 0; %C、jsp:declaration.instanceint count = 0;. jsp:declaration.instanceD、jsp:scriptlet.declarationint count = 0;. jsp:scriptlet.declaration

考题 下面均为java关键字的一组是()A、boolean ,byte,long,assertB、byte,long,true,gotoC、goto,boolean,byte,nullD、boolean,long,false,auto

考题 Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()  A、privateB、finalC、staticD、intE、abstract

考题 Your web page includes a Java SE v1.5 applet with the following declaration: 11. 13. 14. Which HTTP method is used to retrieve the applet code?()A、GETB、PUTC、POSTD、RETRIEVE

考题 Which statement is true regarding the INTERSECT operator?()A、It ignores NULL values B、Reversing the order of the intersected tables alters the result C、The names of columns in all SELECT statements must be identical D、The number of columns and data types must be identical for all SELECT statements in the query 

考题 Which statements concerning casting and conversion are true?()  A、Conversion from int to long does not need a cast.B、Conversion from byte to short does not need a cast.C、Conversion from float to long does not need a cast.D、Conversion from short to char does not need a cast.E、Conversion from boolean to int using a cast is not possible.

考题 Which are not Java primitive types?()    A、 shortB、 BooleanC、 unitD、 float

考题 在Java中,字节数据类型的关键字和默认值是()A、byte和0B、byte和1C、boolean和trueD、boolean和false

考题 Which of the following are all valid DB2 data types?()A、LONG VARCHAR, SMALLINT, NUMBER, BLOBB、DECIMAL, DATE, DBCLOB, INTERVALC、NUMERIC, TIMESTAMP, BYTE, FLOATD、NUM, TIME, XML, DOUBLE

考题 Given the following code fragment:     public void create() {     Vector myVect;     myVect = new Vector();      }  Which of the following statements are true?() A、 The declaration on line 2 does not allocate memory space for the variable myVect.B、 The declaration on line 2 allocates memory space for a reference to a Vector object.C、 The statement on line 2 creates an object of class Vector.D、 The statement on line 3 creates an object of class Vector.E、 The statement on line 3 allocates memory space for an object of class Vector.

考题 Given: 11. 12.catalog 13./catalogTemplate.jsp 14.10 15. Which two are true?()A、Line 13 is not valid for a servlet declaration.B、Line 14 is not valid for a servlet declaration.C、One instance of the servlet will be loaded at startup.D、Ten instances of the servlet will be loaded at startup.E、The servlet will be referenced by the name catalog in mappings.

考题 单选题Which of the following works is regarded as the “Declaration of Intellectual Independence”?A NatureB Self-RelianceC Moby DickD The American Scholar

考题 多选题Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()AprivateBfinalCstaticDintEabstract

考题 多选题Which statements concerning casting and conversion are true?()AConversion from int to long does not need a cast.BConversion from byte to short does not need a cast.CConversion from float to long does not need a cast.DConversion from short to char does not need a cast.EConversion from boolean to int using a cast is not possible.

考题 单选题下面均为java关键字的一组是()A boolean ,byte,long,assertB byte,long,true,gotoC goto,boolean,byte,nullD boolean,long,false,auto

考题 多选题Given: 11. 12.catalog 13./catalogTemplate.jsp 14.10 15. Which two are true?()ALine 13 is not valid for a servlet declaration.BLine 14 is not valid for a servlet declaration.COne instance of the servlet will be loaded at startup.DTen instances of the servlet will be loaded at startup.EThe servlet will be referenced by the name catalog in mappings.

考题 多选题Which of the following statements about declaration are true?()ADeclaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.BDeclaration of primitive types such as boolean, byte and so on allocates memory space for the variable.CDeclaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.DDeclaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.

考题 多选题Given the following code fragment:     public void create() {     Vector myVect;     myVect = new Vector();      }  Which of the following statements are true?()AThe declaration on line 2 does not allocate memory space for the variable myVect.BThe declaration on line 2 allocates memory space for a reference to a Vector object.CThe statement on line 2 creates an object of class Vector.DThe statement on line 3 creates an object of class Vector.EThe statement on line 3 allocates memory space for an object of class Vector.