
Mile Stone 2

Quiz
•
Computers
•
University
•
Hard
Rahul Avulapati
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
The class that is being inherited or subclassed is called
Super class
Sub Class
both a&b
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
class Liquid
{
void pour(){}
}
class Juice extends Liquid
{
void filter(){}
}
The Liquid is a superclass and Juice is a subclass.
The Liquid is a Subclass and Juice is a Superclass.
There is no superclass or subclass
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What is the maximum number of levels possible in a Multilevel Inheritance in Java?
8
16
32
No maximum Level
4.
MULTIPLE CHOICE QUESTION
20 sec • 20 pts
What is the character encoding standard used in Java language?
ASCII
Unicode
Hexacode
Bytecode
Answer explanation
Unicode takes 2 Bytes of memory to represent all characters of all languages.
5.
FILL IN THE BLANK QUESTION
30 sec • 20 pts
What is the ASCII value of "A"___?
6.
MULTIPLE CHOICE QUESTION
20 sec • 20 pts
what is the output of the following command line?
System.out.println(1<<3);
3
1
8
Runtime Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
what is the output of the following code?
int m=1000;
int k=3000;
while(+ + m < - - k);
System.out.println(m);
2000
1000
Error
4000
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Inheritance

Quiz
•
University
10 questions
Java Static

Quiz
•
University
10 questions
Object/Abstract/Final in JAVA

Quiz
•
University
10 questions
P1_APLab2Quiz_B3B4

Quiz
•
University
15 questions
Quiz Pemrograman Berorientasi Obyek

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
10 questions
OBJECT ORIENTED PROGRAMMING WITH JAVA

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade