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

The automobile drove 50 mph and had gone 200 miles when the airplane set out in pursuit. It took 4 hours to overtake the car. What was the speed of the airplane
Consider ∠A such that cos A = 12/13. a) In which quadrant(s) is this angle? Explain. b) If the sine of the angle is negative, in which quadrant is the angle? Ex
If ABC is right-angled at B , AB = 3 cm. , BC = 4 cm. , then the length of the median from B is​
Find −1/4+21/8. Write your answer as a mixed number in simplest form. −1/4+21/8=
Bottles of water sell for $1.50 each.Graph the relationship between the number of bottles of water sold and the total cost.Line
street art...GO! show me your favorite street art
For what values of k
9. When a scientist makes a proposal of a cause-and-effect relationship between two variables, this statement is called a a. Conclusion. O b. Fair test C. Theor
What did John f Kennedy do?
Put the following equation of a line into slope-intercept form, simplifying all fractions. 8y - 6x = 56