Description of this paper

quiz for cis355a




1. (TCO 6) Attributes of an object whose value can be obtained by a user, but not changed, are called _____ attributes. (Points: 3) access;private;read-only;value;Question 2. 2. (TCO 6) The _____ method of the String class provides the character at a given index within the character sequence of the string. (Points: 3) index();charAt();char();strcat();Question 3. 3. (TCO 6) A(n) _____ is a special kind of list where objects are processed in a last-in, first out order. A(n) _____ is a list in which elements are processed in a first-in, first-out order. (Points: 3) stack, queue;queue, stack;array, linked list;linked list, array;Question 4. 4. (TCO 6) Which statement is false? (Points: 3) A collection is an object that can hold references to other objects.;The collection interfaces declare the operations that can be performed on each type of collection.;Unfortunately, collections discourage software reuse because they are nonportable.;Collections are carefully constructed for rapid execution and efficient use of memory.;Question 5. 5. (TCO 6) A(n) _____ variable is a variable shared by all objects, or instances, of a class. (Points: 3) class;instance;object;public;Question 6. 6. (TCO 6) Referencing an object as an instance of a more general parent class is called _____. (Points: 3) upcasting;downcasting;concatenate;instantiating;Question 7. 7. (TCO 6) Although the return type of a mutator method is typically void, sometimes it is a(n) _____ so that the method can indicate whether the proposed change was accepted. (Points: 3) boolean;char;int;String;Question 8. 8. (TCO 6) The _____ method is not a member of the String class. (Points: 3) append();charAt();length();substring();Question 9. 9. (TCO 6) A(n) _____ is simply a format for storing a group, or collection of data. (Points: 3) framework;data structure;list;array;Question 10. 10. (TCO 6) The classes and interfaces which comprise the collections framework are members of package _____. (Points: 3);java. util;javax. swing;java. collections;java. collection


Paper#70992 | Written in 18-Jul-2015

Price : $22