McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
What is the return type of a method that...
Q.
What is the return type of a method that does not return any value?
A.
int
B.
float
C.
void
D.
double
Answer» C. void
2k
0
Do you find this helpful?
14
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
Which of these data type can be used for a method having a return statement in it?
If not assigned a value, a variable of type char has the following default value:
When method defined in subclass which has same signature as a method in a super class, it is known as method
Which method defined in Integer class can be used to convert a whole number in string type to primitive int type.
A ____ class may not have any abstract method.
Which of these data tupe can be used for a method having a return statement in it?.
What is the return type of Constructors?
What is the default return type to main() __________.
A java program can be run in any computer running under any ________.
Which of these is the method which is executed first before execution of any other thing takes place in a program?