Answers

Question and Answer:

  Home  Java Classes

⟩ The type of data returned by a method need not be compatible with the return type specified by the methodA) TrueB) False

Explanation: The type of data returned by a method must be compatible with the return type specified by the method. For example, if the return type of some method is boolean, you could not return an integer

A) its False

The return type must be compatible

 174 views

More Questions for you: