JAVA PROGRAMMING EXAM BSAIT 1-2

JAVA PROGRAMMING EXAM BSAIT 1-2

Professional Development

54 Qs

quiz-placeholder

Similar activities

Mock Batch-III

Mock Batch-III

Professional Development

62 Qs

DSA Basics

DSA Basics

Professional Development

65 Qs

Cambridge Technical Level 3 IT Unit 1 Revision

Cambridge Technical Level 3 IT Unit 1 Revision

Professional Development

62 Qs

Unit 2 TECHNOLOGY SYSTEMS

Unit 2 TECHNOLOGY SYSTEMS

Professional Development

60 Qs

ITF+ pt3

ITF+ pt3

9th Grade - Professional Development

67 Qs

RA-MD03-JAVA-Hackathon-05

RA-MD03-JAVA-Hackathon-05

Professional Development

60 Qs

Operators and Statements

Operators and Statements

Professional Development

60 Qs

Cambridge - IGCSE - Computer Science - Input Devices

Cambridge - IGCSE - Computer Science - Input Devices

11th Grade - Professional Development

66 Qs

JAVA PROGRAMMING EXAM BSAIT 1-2

JAVA PROGRAMMING EXAM BSAIT 1-2

Assessment

Passage

Computers

Professional Development

Hard

Created by

Erickson Antonio

Used 5+ times

FREE Resource

54 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is inheritance in Java?

A mechanism where one object modifies properties and behaviors of a parent object

A mechanism where one object creates properties and behaviors of a parent object

A mechanism where one object loses properties and behaviors of a parent object

A mechanism where one object acquires properties and behaviors of a parent object

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the 'extends' keyword indicate in Java?

Creating a new class that is a copy of an existing class

Creating a new class that replaces an existing class

Creating a new class that is unrelated to any existing class

Creating a new class that derives from an existing class

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the superclass in Java inheritance?

The class being inherited from

A class that is a copy of another class

The class that inherits from another class

A class that is unrelated to any other class

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What types of inheritance are supported in Java?

Single, hybrid, and hierarchical

Single, multiple, and hybrid

Single, multilevel, and hierarchical

Single, multilevel, and hybrid

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the relationship between Programmer and Employee classes?

Programmer IS - A Employee

Programmer IS - NOT A Employee

Programmer IS - EQUAL TO Employee

Programmer IS - LIKE A Employee

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is an example of single inheritance in Java?

Dog class inherits the Cat class

Cat class inherits the Dog class

Dog class inherits the Animal class

Animal class inherits the Dog class

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is an example of multilevel inheritance in Java?

BabyDog class inherits the Dog class which inherits the Animal class

Dog class inherits the Animal class

Cat class inherits the Animal class

Animal class inherits the Dog class

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?