Solved

The Purpose of a Method That Returns Void Is

Question 19

Multiple Choice

The purpose of a method that returns void is


A) To satisfy compiler warnings
B) To package a repeated task as a method even though the task does not yield a value
C) To force a value to be returned in case the "return" statement is forgotten
D) To insert a temporary implementation of a method that can be refined later

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents