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. Write a method that prints integers from 1 to 100.

Computer Science & Information Technology

You might also like to view...

Find all information regarding classrooms (RoomType = ‘C’).

Use the Indo–US College database tables to design the following subqueries. (Use the spooling method to capture all queries and results in the CHAP8SP2.LST file)

Computer Science & Information Technology

A(n) ________ is an email that may be seen as being confrontational and argumentative

A) twist B) SMS C) flame D) hit

Computer Science & Information Technology

Abstract classes do not necessarily have:

a. A 0 pointer in their vtable. b. A virtual function prototype with the notation = 0. c. Zero instances of their class. d. Zero references to their class.

Computer Science & Information Technology

Which sublayer of the Physical layer reformats data received from the MAC layer when transmitting?

A. PMD B. LLC C. Data Link D. PLCP

Computer Science & Information Technology