AP Computer Science Aeasymcq1 pt

Overriding toString is commonly done to

A.return a readable description of the object
B.delete the object
C.make the object private
D.sort the object

Explanation

Core Concept

toString describes the object.

Correct Answer

Areturn a readable description of the object

More Unit 9: Inheritance practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 9: Inheritance Questions →