II_III Years-Java, Python, and C Quiz
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
SHANMUGAPRIYA.P MCE-LECT/IT
Used 6+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a primitive data type in Java?
int
float
String
boolean
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to define a constant in Java?
const
final
static
constant
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of Java code System.out.println(5 + "5");?
10
55
5 + 5
Error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of the static keyword in Java?
To create a constant
To allow a method or variable to be accessed without creating an instance of the class
To prevent inheritance
To define a global variable
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true about method overloading?
Methods must have the same name and return type
Methods must have different names
Methods must have the same name but different parameters
Methods must have the same name and parameters
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the default value of an int variable in Java?
0
1
null
undefined
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a valid access modifier in Java?
public
private
protected
global
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
50 questions
THE LAST OF US
Quiz
•
1st Grade - Professio...
45 questions
แบบทดสอบวิชาไมโครคอนโทรลเลอร์
Quiz
•
KG - Professional Dev...
45 questions
Focused Note-Taking Exam
Quiz
•
4th Grade - Professio...
55 questions
Harry Potter
Quiz
•
KG - Professional Dev...
45 questions
PLC TEST
Quiz
•
Professional Development
55 questions
Dwelling (DP)
Quiz
•
Professional Development
50 questions
TES CALON GURU SIT AN NAHL
Quiz
•
Professional Development
50 questions
Repaso 1er parcial EDSO (UD1-UD5)
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
