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

Select the correct spelling for the word that completes the sentence. Fallen _____ were scattered across the ground. leafs leaves
Pls helpppppp meeeeeee
What nutrient makes up 55 to 60 percent of the human body?
Which activity is most likely to release endorphins from the pituitary gland in the brain?
Which expression is equivalent to 3√32x^8y^10?
_____ is the passing of a wave through an object.
Behavior that is conditioned with _____ reinforcement is _____ resistant to extinction.
The degree to which you believe your efforts will bring about a positive outcome is your ______.
Which of the following is an example of dialogue?
A solution has a [Ag+(aq)] of 0.01 M. The chloride concentration in solution is 1 x 10-5 M. Based on the following reaction, answer the following questions: Ag