When you create a class from which you will instantiate objects to store in an ArrayList, _________________.

Question:

When you create a class from which you will instantiate objects to store in an ArrayList, _________________.
a. You must create a toString() method
b. You must create a compare To () method
c. You must create both a toString() method and a compare To () method
d. You are not required to create either a toString() method or a compare To () method

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: