Solved

We Want the ToString Method to Return Strings Like 3/16/2014

Question 7

Multiple Choice

We want the toString method to return strings like 3/16/2014.Give the body of the toString method.


A) return "m/d/y";
B) return month + "/" + day + "/" + year;
C) return m + "/" + d + "/" + y;
D) return "month/day/year";

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions