ninjasavage2 ninjasavage2
  • 07-07-2021
  • Computers and Technology
contestada

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

A.Void

B.Int

C.None

D.Short

Respuesta :

sk5634943
sk5634943 sk5634943
  • 07-07-2021

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

Answer Link
jorjaezzi571 jorjaezzi571
  • 07-07-2021
im sure its option b!!
Answer Link

Otras preguntas

Why did America rely heavily on slaves during the colonial period?
70 pennies decreased by 20% is
A square has a perimeter of 64 inches What is the length of one side if the square? What is the area of the square??
What is the median cost of 26$, 35$, and 50$
A square has a perimeter of 64 inches What is the length of one side if the square? What is the area of the square??
Why did America rely heavily on slaves during the colonial period?
660 ft/min=_________ft/s 1 min = 60 sec
"Find the point of intersection for each system of linear equations. Which method did you use & why?"
"Find the point of intersection for each system of linear equations. Which method did you use & why?"
What is the median cost of 26$, 35$, and 50$