
Java and C Programming Quiz
Authored by DHURGATHARAN R
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The concept of multiple inheritance is implemented in java by
(ii) and (iii)
only (ii)
(i) and (ii)
only (iii)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print? x = "hello" y = x.replace('l', 'L') print(y)
hello
Error
heLlo
heLlo
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to set the size of a component?
setMinimumSize()
setSize()
setPreferredSize()
setBounds()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators cannot be overloaded?
?:
Both B and C
>>
.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following C program
#include
the value of shifty is 2600
the value of shifty is 5447
the value of shifty is 0273
the value of shifty is 1300
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you call this button?
Find Button
Error Button
Debugging Button
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Code with error: public class Main { public static void main(String[] args) { Integer num1 = 127; Integer num2 = 127; System.out.println(num1 == num2); } }
Initialize num1 with Integer.valueOf(127)
Use System.out.println(num1 != num2);
Use num1.equals(num2)
Change Integer to int
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
25 questions
Florida Pert Review
Quiz
•
9th Grade - University
25 questions
Komputer Radiologi dasar
Quiz
•
University
25 questions
Kuis Kardiologi Farmasi Unila
Quiz
•
University
25 questions
Babak 1 - Rangking 1
Quiz
•
8th Grade - University
25 questions
Solar Whiz Quiz: Igniting Minds with Renewable Trivia
Quiz
•
University
25 questions
Malaysia
Quiz
•
University
25 questions
Quiz sobre Metodología para la Elaboración del Presupuesto
Quiz
•
University
26 questions
QUIZIZZ 26/11/2024
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