Which of the following should be defined as a void method?

a. Write a method that prints integers from 1 to 100.
b. Write a method that returns a random integer from 1 to 100.
c. Write a method that checks whether a number is from 1 to 100.
d. Write a method that converts an uppercase letter to lowercase.

a

Computer Science & Information Technology

You might also like to view...

Where are voice protection system servers installed?

a. Local bases. b. MAJCOM headquarters. c. Air Force Network Operations Center. d. Integrated Network and Security Center.

Computer Science & Information Technology

It is a UML convention to denote the name of an abstract class in ________.

a. bold. b. italics. c. a diamond. d. there is no convention of the UML to denote abstract classes—they are listed just as any other class.

Computer Science & Information Technology