Answer the following statements true (T) or false (F)

1. You can not use the set method to put an element at just any index.
2. Inheritance is the reason why some parameters of the ArrayList class are of type Base_Type and
others of type Object.
3. A for loop is an enhanced loop.
4. The Type parameter is always indicated as a T.


1. True
2. True
3. False
4. False

Computer Science & Information Technology

You might also like to view...

This code returns a reference to an object. It should compile, but something is wrong. What is wrong?

Foo& someFunction(int i) { Foo f; f.doSomethingIncredible(i); return f; } a. It returns a reference to a local variable that is destroyed (goes out of scope) when the function exits b. Variable i should be passed by pointer c. You cannot return a variable by reference

Computer Science & Information Technology

Answer the following questions true (T) or false (F)

1. An array of chars is the same as a String in Java. 2. An array name references a memory address.

Computer Science & Information Technology

When you are collaborating with others, you can see each reviewer's changes by enabling ________

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The process of using your contacts, such as friends, relatives, and business associates for obtaining job information is called ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology