The body of getFeet()
isnt defined, but given that it returns an int
, and the feet
member of d2 was most recently set to “1”, assuming the missing code meakes sense, the printout would be “1”.
2
solved Given the following class definition and lines of code [closed]