II_III Years-Java, Python, and C Quiz
Quiz
•
Other
•
Professional Development
•
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
51 questions
COSAS BARIAS
Quiz
•
Professional Development
50 questions
UQ/L-3/BK-3/Assessment/English
Quiz
•
Professional Development
50 questions
BL M-02 FIRE CODE FLASHCARDS 01
Quiz
•
University - Professi...
51 questions
BT - Ch-3 (BPP) Culture
Quiz
•
Professional Development
55 questions
BT - Ch-10 Indentifying and Preventing Fraud
Quiz
•
Professional Development
50 questions
BASIC FIRE BRIGADE
Quiz
•
Professional Development
55 questions
OIC Reviewer
Quiz
•
Professional Development
50 questions
Toll gate 2 new joinees 1st batch
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Other
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
