Get the answers you've been searching for with IDNLearn.com. Explore thousands of verified answers from experts and find the solutions you need, no matter the topic.

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!!