The type of data returned by a method need not be compatible with the return type specified by the method
A) True
B) False

Submitted by: Administrator
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
Submitted by: Administrator

Read Online Java Classes Job Interview Questions And Answers