Mile Stone 2

Mile Stone 2

University

15 Qs

quiz-placeholder

Similar activities

Programming Standard Input

Programming Standard Input

University

10 Qs

Basics of JAVA

Basics of JAVA

University

11 Qs

Java Inheritance

Java Inheritance

University

10 Qs

Java Class Vocabulary

Java Class Vocabulary

11th Grade - University

17 Qs

Java Como Programar - Deitel - Cap 1 e 2

Java Como Programar - Deitel - Cap 1 e 2

University

18 Qs

Quizz Programación 2

Quizz Programación 2

University

15 Qs

Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

University

12 Qs

Unit 2 Inheritance in Java

Unit 2 Inheritance in Java

12th Grade - 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?