Objects of class Name are defined by supplying last name (string) and a first name (string)-- in that order. Define an object of type Name named name and corresponding to a last name of "Black" and a first name of "Susan".
.
.
Click on the title for the solution
.
.
.
Click on the title for the solution
.
.
This is the answer:
:
Name name("Black","Susan");
Comments
Post a Comment