
Java Programming Quiz for swapna
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
A Sanjib Kumar Patro
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output? java int a = 10; System.out.println(a++ + ++a);
21
22
20
23
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid Java keyword?
static
Integer
this
final
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output? java int x = 5; int y = ++x * 2 + x--; System.out.println(y);
13
18
16
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following? java String s1 = "Java"; String s2 = new String("Java"); System.out.println(s1 == s2);
true
false
error
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which concept allows you to use the same method name with different parameters?
Inheritance
Polymorphism
Encapsulation
Abstraction
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed? java String str = "abc"; str.concat("d"); System.out.print(str);
abcd
abc
Error
null
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be? java int[] a = {1, 2, 3}; System.out.println(a.length);
3
2
4
Error
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Computer System Servicing: Occupational Health and Safety
Quiz
•
10th Grade - University
15 questions
Chayamana Quiz Competition
Quiz
•
1st Grade - University
15 questions
Google Cloud Quiz
Quiz
•
University
20 questions
Air Cargo Management 01
Quiz
•
University
15 questions
STANDARD COSTING AND VARIANCE ANALYSIS
Quiz
•
University
15 questions
Auditing-Vouching
Quiz
•
University
20 questions
INTERNET
Quiz
•
University
15 questions
Teaching English for Young Learners - Fun Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
