
Mile Stone 2
Authored by Rahul Avulapati
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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(){}
}
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
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?