Invoking _________ returns the number of the elements in an ArrayList x.
a. x.getSize()
b. x.getLength(0)
c. x.length(1)
d. x.size()
d
You might also like to view...
Keywords public and private are called ________.
a) member-access modifiers b) privacy modifiers c) security modifiers d) class modifiers e) type modifiers
Given the function prototype and variable declarations, which of the following is a valid function call?
void tryOut ( int, char, int&, float&); // function prototype int a = 4, b = 0; //variable declarations float y; char c; a) tryOut (3, ‘a’, 5, y); b) tryOut (a, c, a * b, y); c) tryOut (8, ‘t’, b, 7.8); d) tryOut (a + b, ‘b’, b, y);
When viewing the interface status, the Method field indicates which of the following?
A) The interface was brought up using tftp. B) How the interface was brought up. C) The interface was brought up manually. D) The interface is exchanging Keepalive packets. E) None of these answers are correct.
A stack is a FIFO list.
Answer the following statement true (T) or false (F)