Assume that t is an object of class Test, which has member functions a(), b(), c() and d(). If the functions a(), b() and c() all return references to an object of class Test (using the dereferenced this pointer) and function d() returns void, which of the following statements will not produce a syntax error:
a. t.a().b().d();
b. a().b().t;
c. t.d().c();
d. t.a().t.d();
a. t.a().b().d();
Computer Science & Information Technology
You might also like to view...
A DBMS and database are synonymous
Indicate whether the statement is true or false
Computer Science & Information Technology
What type of methods allow a client of a class to assign values to a private instance variable?
a. Get methods. b. Replace methods. c. Assign methods. d. Set methods.
Computer Science & Information Technology