At Westonci.ca, we provide reliable answers to your questions from a community of experts. Start exploring today! Connect with a community of experts ready to provide precise solutions to your questions on our user-friendly Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

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