QUESTION IMAGE
Question
question 1
suppose your method does not return any value. which of the following keywords can be used as a return type?
a double
b public
c none of the above.
d void
e int
Brief Explanations
In programming (Computer Science sub - field), when a method does not return any value, the void keyword is used as the return type. double and int are data types for returning numerical values. public is an access modifier, not a return type.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
D. void