Unit 9 Retake CSA

Unit 9 Retake CSA

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Lesson 1 Introduction to Database System

Lesson 1 Introduction to Database System

10th Grade

10 Qs

Week 2 ( Prepare Hand Tools)

Week 2 ( Prepare Hand Tools)

9th Grade

10 Qs

Review

Review

9th - 12th Grade

10 Qs

PowerPoint Quiz 2

PowerPoint Quiz 2

9th Grade

13 Qs

Unit 9 Retake CSA

Unit 9 Retake CSA

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Mrs. Mosier

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

The process by which objects of one class acquire the properties of objects of another class is known as

Polymorphism

Inheritance

Data Hiding

Association

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of following Java Program?

12

321

123

23

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is subclass in java?

A subclass is a class that extends another class

A subclass is a class declared inside a class

Both above.

None of the above.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of following Java program?

Base

Derived

Derived

Base

Base

Derived

Base

Derived

Base

Compiler Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this keyword must be used to inherit a class?

super

this

extends

extent

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Java program?

class A

{

int i;

}

class B extends A

{

int j;

void display()

{

super.i = j + 1;

System.out.println(j + " " + i);

}

}

class inheritance

{

public static void main(String args[])

{

B obj = new B();

obj.i=1;

obj.j=2;

obj.display();

}

}

2 2

3 3

2 3

3 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If super class and subclass have same variable name, which keyword should be used to use super class?

super

this

upper

classname

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?