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

题目内容 (请给出正确答案)
多选题
Which statements concerning the value of a member variable are true, when no explicit assignments have been made?()
A

The value of an int is undetermined.

B

The value of all numeric types is zero.

C

The compiler may issue an error if the variable is used before it is initialized.

D

The value of a String variable is  (empty string).

E

The value of all object variables is null.


参考答案

参考解析
解析: 暂无解析
更多 “多选题Which statements concerning the value of a member variable are true, when no explicit assignments have been made?()AThe value of an int is undetermined.BThe value of all numeric types is zero.CThe compiler may issue an error if the variable is used before it is initialized.DThe value of a String variable is  (empty string).EThe value of all object variables is null.” 相关考题
考题 A class design requires that a member variable should be accessible only by same package, which modifer word should be used? A.protectedB.publicC.no modiferD.private

考题 Which modifer should be applied to a declaration of a class member variable for the value of variable to remain constant after the creation of the object?() A.staticB.finalC.constD.abstract

考题 Given:Which two statements are true about the result if the default locale is Locale.US?() A.The value of b is 2.B.The value of a is 3.14.C.The value of b is 2.00.D.The value of a is 3.141.E.The value of a is 3.1415.F.The value of a is 3.1416.G.The value of b is 2.0000.

考题 Which of the following statements describe the use of the keywordstatic?a) Within the body of a function: A static variable maintains its valuebetween function revocationsb) Within a module: A static variable is accessible by all functionswithin that modulec) Within a module: A static function can only be called by otherfunctions within that module

考题 Sometimes it is desirable to connect a member both by riveting and welding. Which statement is TRUE concerning this procedure?A.Tearing through the member is more likely in this type connectionB.The weld may be broken by the stresses caused by rivetingC.The weld increases the tensile stress on the rivet headsD.The welding must be completed before the riveting commences

考题 Which statements concerning the switch construct are true?()  A、All switch statements must have a default label.B、There must be exactly one label for each code segment in a switch statement.C、The keyword continue can never occur within the body of a switch statement.D、No case label may follow a default label within a single switch statement.E、A character literal can be used as a value for a case label.

考题 Which statements concerning the correlation between the inner and outer instances of non-static inner classes are true?()  A、Member variables of the outer instance are always accessible to inner instances, regardless of their accessibility modifiers.B、Member variables of the outer instance can never be referred to using only the variable name within  the inner instance.C、More than one inner instance can be associated with the same outer instance.D、All variables from the outer instance that should be accessible in the inner instance must be declared  final.E、A class that is declared final cannot have any inner classes.

考题 A public member vairable called MAX_LENGTH which is int type, the value of the variable remains constant value 100. Use a short statement to define the variable.()   A、 public int MAX_LENGTH=100;B、 final int MAX_LENGTH=100;C、 final public int MAX_LENGTH=100;D、 public final int MAX_LENGTH=100;

考题 Which statements concerning the value of a member variable are true, when no explicit assignments have been made?()  A、The value of an int is undetermined.B、The value of all numeric types is zero.C、The compiler may issue an error if the variable is used before it is initialized.D、The value of a String variable is "" (empty string).E、The value of all object variables is null.

考题 Several @functions can execute multiple statements. Which one of the following initializes a variable and can increment in during the operation?()A、 @do B、 @for C、 @while D、 @dowhile 

考题 A member variable defined in a class can be accessed only by the classes in the same package. Which modifier should be used to obtain the access control?()         A、 privateB、 no modifierC、 publicD、 protected

考题 Concerning the E.U.,which of the following statements is wrong?()A、A college student in Greece can get a job in the U.K.in summer vocation.B、All the member countries adopt the currency,euro.C、The executive body of the E.U. is the European Commission,headquartered in Brussels.D、The Council of Ministers has the final power to decide E.U.actions.

考题 单选题Which of the following statements concerning energy is correct?()A Energy can be created or destroyedB Energy may not be transformedC The total quantity of energy in the universe is always the sameD None of the above

考题 多选题Concerning the figure below, if a =b, which of the following statements must be true? (Indicate all such statements.)Ac=dBl and k are parallelCm and l are perpendicular

考题 单选题Sometimes it is desirable to connect a member both by riveting and welding. Which statement is TRUE concerning this procedure? ()A Tearing through the member is more likely in this type connectionB The weld may be broken by the stresses caused by rivetingC The weld increases the tensile stress on the rivet headsD The welding must be completed before the riveting commences

考题 单选题Several @functions can execute multiple statements. Which one of the following initializes a variable and can increment in during the operation?()A  @do B  @for C  @while D  @dowhile 

考题 单选题Which variable factor affects the initial lashing requirements aboard Ro-Ro vessels? ()A Age of vehicle or cargo unitB Size and weight of vehicle/cargo unitC Reputation of shipper concerning condition of cargoD Air pressure in the vehicles tires

考题 单选题A public member vairable called MAX_LENGTH which is int type, the value of the variable remains constant value 100. Use a short statement to define the variable.()A  public int MAX_LENGTH=100;B  final int MAX_LENGTH=100;C  final public int MAX_LENGTH=100;D  public final int MAX_LENGTH=100;

考题 单选题Which of the following statements concerning fire-tube boilers is correct?()A Combustion gases flow through the tubesB Flames impinge on the tubesC Combustion occurs in the tubesD Water flows through the tubes

考题 单选题Which statements concerning the switch construct are true?()A All switch statements must have a default label.B There must be exactly one label for each code segment in a switch statement.C The keyword continue can never occur within the body of a switch statement.D No case label may follow a default label within a single switch statement.E A character literal can be used as a value for a case label.

考题 单选题Which of the following statements is correct concerning the “flash point ” of a liquid?()A It is lower than the ignition temperatureB It is the temperature at which a substance will spontaneously igniteC It is the temperature at which a substance, when ignited, will continue to bumD It is the temperature at which the released vapors will fall within the explosive range

考题 单选题Which of the following statements is true regarding the initialization parameter DIAGNOSTIC_DEST?()   The default value is the value of the environment variable $ORACLE_HOME; if $ORACLE_HOME isn’t setA  then the default is set to $ORACLE_BASE The default value is the value of the environment variable $ORACLE_BASE; if $ORACLE_BASE isn’t set,B  then it is set to $ORACLE_HOMEC  DIAGNOSTIC_DEST is always equal to $ORACLE_HOMED  DIAGNOSTIC_DEST is always equal to $ORACLE_BASE

考题 多选题Which statements are true concerning the effect of the  and  operators?()AFor non-negative values of the left operand, the  and  operators will have the same effect.BThe result of (-1  1) is 0.CThe result of (-1  1) is -1.DThe value returned by  will never be negative as long as the value of the right operand is equal to or greater than 1.EWhen using the  operator, the leftmost bit of the bit representation of the resulting value will always be the same bit value as the leftmost bit of the bit representation of the left operand.

考题 单选题A class design requires that a member variable cannot be accessible directly outside the class. Which modifier should be used to obtain the access control?()A  publicB  no modifierC  protectedD  private

考题 单选题The value of the controlled variable, which under any fixed set of conditions the automatic controller operates to maintain, is known as ()A set pointB control pointC deviationD offset

考题 单选题Which of the following statements is correct concerning the viscosity of lubricating oil?()A Viscosity will increase as temperature increasesB Viscosity is a measure of a fluid s internal resistance to flowC Viscosity will decrease as temperature decreasesD Viscosity is not dependent on temperature

考题 单选题Concerning the E.U.,which of the following statements is wrong?()A A college student in Greece can get a job in the U.K.in summer vocation.B All the member countries adopt the currency,euro.C The executive body of the E.U. is the European Commission,headquartered in Brussels.D The Council of Ministers has the final power to decide E.U.actions.