Which of the following is the correct main function in java?

Quizz 1 Java

Quiz
•
Other
•
University
•
Hard
Sunny Saxena
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
void main() public static
public static void main(string []args)
static public void main(string []args)
Both B and C
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true?
Class name and file name must be Identical
Class name and file name must be different
Both A and B
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following type of If conditions is correct?
if()
{ }
else
{ }
if()
{ }
else if()
{ }
else
{ }
if()
{ }
All of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
JDK is abbreviation of?
Java dual Kit
Java Developer Kit
Java Development Kit
Java design Kit
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
1001
500
500
1000
1000
500
Blank Screen
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
Hello22
4Hello
22Hello
4Hello
Hello 2+2
2+2 Hello
Hello22
22Hello
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
12
12
12
2
12
2
10
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
การโปรแกรมการทำงานของหุ่นยนต์อุตสาหกรรม (ด้วย Arduino)

Quiz
•
University
13 questions
Introduction to Python Programming Quiz 9E

Quiz
•
10th Grade - University
15 questions
Technoquiz..3

Quiz
•
University
10 questions
Roblox bedwars quiz

Quiz
•
1st Grade - Professio...
10 questions
UNIT2_PYTHON

Quiz
•
University
15 questions
Java Debugging Questions - M

Quiz
•
University
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade