A.static
B.final
C.const
D.abstract
第1题:
A.It can be any class.
B.No class has access to base.
C.The class must belong to the geometry package.
D.The class must be a subclass of the class Hypotenuse.
第2题:
______is the address of.a variable or a variable in which the address of another variable is stored.
A.Director
B.Pointer
C.Array
D.Record
第3题:
package test; class Target{ public String name="hello"; } What can directly access and change the value of the variable name?()
第4题:
Which statements concerning the value of a member variable are true, when no explicit assignments have been made?()
第5题:
What does it mean for a variable in the Application Editor to be defined as a parameter?()
第6题:
Given the following code fragment: public void create() { Vector myVect; myVect = new Vector(); } Which of the following statements are true?()
第7题:
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?()
第8题:
It can be any class.
No class has access to base.
The class must belong to the geometry package.
The class must be a subclass of the class Hypotenuse.
第9题:
The value of an int is undetermined.
The value of all numeric types is zero.
The compiler may issue an error if the variable is used before it is initialized.
The value of a String variable is (empty string).
The value of all object variables is null.
第10题:
The declaration on line 2 does not allocate memory space for the variable myVect.
The declaration on line 2 allocates memory space for a reference to a Vector object.
The statement on line 2 creates an object of class Vector.
The statement on line 3 creates an object of class Vector.
The statement on line 3 allocates memory space for an object of class Vector.
第11题:
Store the data in a local variable.
Store the data in an instance variable.
Store the data in the HttpSession object.
Store the data in the ServletContext object.
Store the data in the ServletRequest object.
第12题:
public int MAX_LENGTH=100;
final int MAX_LENGTH=100;
final public int MAX_LENGTH=100;
public final int MAX_LENGTH=100;
第13题:
______ is the address of a variable or a variable in which the address of another variable is stored.
A.Director
B.Pointersystem
C.Array
D.Record
第14题:
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?()
第15题:
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.()
第16题:
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?()
第17题:
package geometry; public class Hypotenuse { public InnerTriangle it = new InnerTriangle(); class InnerTriangle { public int base; public int height; } } Which is true about the class of an object that can reference the variable base? ()
第18题:
A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in athread-safe manner. Which two can support this design goal?()
第19题:
Which of the following statements about declaration are true?()
第20题:
public
no modifier
protected
private
第21题:
Declaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.
Declaration of primitive types such as boolean, byte and so on allocates memory space for the variable.
Declaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.
Declaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.
第22题:
private
no modifier
public
protected
第23题:
The variable can be used to pass data to and from subflows.
The value for that variable can be supplied via Application Configuration in Application Administration.
The value for that variable is defined by the calling application.
The variable can be used in conditional steps.
The variable can be used to pass data to and from VoiceXML applications.