All of the following methods are part of the Collection interface except:
a. Contains()
b. toArray()
c. retainAll()
d. toString()
D
You might also like to view...
Which statement would be used to declare a 10-element integer array c?
a. array c<12;
b. array c
Some operating systems are __________; in other words, they are based on published code that can be modified and improved by anyone.
a. proprietary b. standardized c. transparent d. open source
Make a photocopy of and label the following:
a. Upper case
b. Lower case
c. Ascender (2 instances)
d. Descender (2 instances)
e. Serif (two types)
f. X-height
g. Baseline
Which of the following is correct for opening a file and attaching it to a file named File.txt? Assume proper file inclusion and proper using directives.
a) ``` open(outStream, “File.txt”, ios::app) ``` b) ``` ifstream inStream; inStream.open(“File.txt”); ``` c) ``` ifstream inStream(“File.txt”); ``` d) ``` ofstream inStream; onStream.open(“File.txt”, ios::app); ``` e) ``` ifstream inStream(“File.txt”, ios::app); ```