Mile Stone 2

Mile Stone 2

University

15 Qs

quiz-placeholder

Similar activities

Java Inheritance

Java Inheritance

11th Grade - University

10 Qs

300 Quiz03

300 Quiz03

University

18 Qs

Inheritance in Java

Inheritance in Java

University

20 Qs

JAVA FOR ANDROID-JAVA

JAVA FOR ANDROID-JAVA

University

10 Qs

CS 122 - Final Examination

CS 122 - Final Examination

University

16 Qs

P1_APLab2Quiz_B3B4

P1_APLab2Quiz_B3B4

University

10 Qs

Windows Fundamental

Windows Fundamental

University

20 Qs

Quiz Pemrograman Berorientasi Obyek

Quiz Pemrograman Berorientasi Obyek

University

15 Qs

Mile Stone 2

Mile Stone 2

Assessment

Quiz

Computers

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?