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

a line that passes through (5, 1) and has a slope of ?
Simplify the expression. 3 + 2 • (8 – 3) a. 25 b. 37 c. 16 d. 13 A?
Replace? with =, >, or < to make the statement true. 4 ∙ 16 – 16? 4 ∙ [24 – 2 ∙ (4 + 8)] a. < b. = c. >
A comma cannot be used to correct most run-on sentences can be used to correct most run-on sentences can be used to combine two independent clauses correctly
definition of colonialism in your own words
A particle moving uniformly along the x axis is located at 11.3 m at 0.588s and at 3.38 m at 4.67s. Find the displacement during this time intervals.
The battle for political legitimacy in Somalia is between __________. a. Afrikaners and the African National Congress b. Jews and Arab Muslims c. the Hutu ma
Is the square root of 2 between 1.3 and 1.4
How many hundreds are in 50,000
HOw do I solve 2m/7+3m/14=1 step by step