1. True or False: A method cannot return a reference to an object. 2. True or False: You can declare an enumerated data type inside a method. 3. True or False: Enumerated data types are actually...


1. True or False: A method cannot return a reference to an object.


2. True or False: You can declare an enumerated data type inside a method.


3. True or False: Enumerated data types are actually special types of classes.


4. True or False: enum constants have a toString method.


5. A pet store sells dogs, cats, birds, and hamsters. Write a declaration for an enumerated data type that can represent the types of pets the store sells.



Dec 20, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here