Solved

Which of the Following Should Be Declared as a Void

Question 1

Multiple Choice

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


A) Write a method that returns a random integer from 1 to 100.
B) Write a method that prints integers from 1 to 100.
C) Write a method that checks whether current second is an integer from 1 to 60.
D) Write a method that converts an uppercase letter to lowercase.

Correct Answer:

verifed

Verified

Related Questions