McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
What is the default return type to main(...
Q.
What is the default return type to main() __________.
A.
void.
B.
double.
C.
float.
D.
int.
Answer» D. int.
5.3k
0
Do you find this helpful?
30
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
What is the return type of a method that does not return any value?
If not assigned a value, a variable of type char has the following default value:
What is the return type of Constructors?
Which of these data type can be used for a method having a return statement in it?
Which of these is used as default for a member of a class if no access specifier is used for it?
The default layout manager of an Applet is
The default layout manager of a Frame is
What is the default buffer size used by any buffered class?
What is default layout manager for panels and applets?
An Applet has its Layout Manager set to the default of FlowLayout. What code would be the correct to change to another Layout Manager?