a In the constructor of a class you use the keyword to refe

a. In the constructor of a class, you use the _____________________ keyword to refer to the instance variables.

b. When using a try/catch block around a call to Integer.parseInt to test user input, you are performing _____________________.

c. The contents of a String cannot be modified; an instance of String is _____________________.

d. The _____________________ feature of Java automatically converts primitive types into wrapper class instances for use in collections.

e. When you declare an object for use in your program, the _____________________ value indicates that the variable does not refer to anything.

Solution

a. new keyword is used to refer instance variables

b. Exception handling is performed. The exception caused may be number format exception

c. immutable. Immutable string cannot be modified.

d. Autoboxing. It is the automatic process of conversion of primitive types to wrapper classes.

e. null. The null indicates that the variable does not refer to anything.

a. In the constructor of a class, you use the _____________________ keyword to refer to the instance variables. b. When using a try/catch block around a call to

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site