Discover the answers to your questions at Westonci.ca, where experts share their knowledge and insights with you. Get detailed and accurate answers to your questions from a community of experts on our comprehensive Q&A platform. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

What is the default return type of a method in Java language?

A.Void

B.Int

C.None

D.Short


Sagot :

Answer:

The default return data type in function is int

Answer: Option (b)

Explanation:

The default return data type in a function is int. In other words commonly if it is not explicitly mentioned the default return data type of a function by the compiler will be of an integer data type.

If the user does not mention a return data type or parameter type, then C programming language will inevitably make it an int.

mark me brainlist

im sure its option b!!