Assume that the function call operator() is overloaded for data type String in the usual sense of selecting a substring from a larger string. For a String object string1 with the character string "ABCDEFGHI", what string does string1( 4 , 2 ) return?
a. "EF"
b. "EFGHI"
c. "CDEF"
d. "CD"
ANS: a.
a. "EF"
Computer Science & Information Technology
You might also like to view...
Multithreading is important because it can ________.
a) facilitate software design and promote good programming practices b) improve performance and scalability c) facilitate cooperation/synchronization of activities d) all of the above
Computer Science & Information Technology
In every popular computer coding scheme, "B" is numerically one greater than "A," and "y" is numerically one less than "z."
Answer the following statement true (T) or false (F)
Computer Science & Information Technology