kimberlyvargas8523 kimberlyvargas8523
  • 18-07-2019
  • Computers and Technology
contestada

In Java, if the method returns void, a call to the method mustbe a:

a. method

b. statement.

c. main program call

d. global

Respuesta :

demimurray573
demimurray573 demimurray573
  • 27-07-2019

Answer:

B - Statement

Explanation:

A method returning void (not returning a function value) cannot be called through another method, expression or constant but would be called simply through an individual statement. E.g. when working with istream and ifstream >> cin.get( );

Answer Link

Otras preguntas

I need help with my Math please!!
anong ahensya ang nagtatakda ng lawak ng lawa na maaaring masakop ng mga palaisdaan​
25- The graph shows the speed of a minibus, in metres per second, during the first 40 seconds of a journey. Work out an estimate for the distance travelled by t
у° хо 38° Solve for z.
Can someone help me! IN NEED OF HELP !
What is the mass in grams of NaCN in 120.0mL of a 2.40x10-5 M solution?
PLEASE ANSWER WORD PROBLEM The owner of a small computer repair business has one employee, who is paid an hourly rate of $22. The owner estimates his weekly pro
a domestic hot water tank contains 200 kg of warer at 20°C. how much energy must be supplied to heat this water to 70°C (specific heat capacity of water =4200J/
Find the zeros of f(x) = 7x² + 42.
Will choose brainlist