KnowledgeBoat Logo
|

Computer Applications

Define Return data type

User Defined Methods

52 Likes

Answer

Return data type specifies the type of value that the method should return. It is mentioned before the method name in the method prototype. It can be any valid primitive or composite data type of Java. If no value is being returned, it should be void.

Answered By

30 Likes


Related Questions