Object-Oriented Programming

Object-Oriented Programming

Assessment

Interactive Video

Computers

9th - 12th Grade

Easy

Created by

Myra Deister

Used 3+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Java primarily used for?

Writing operating systems

Creating 3D graphics

Programming applications that can run anywhere

Developing web browsers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In object-oriented programming, what is a class?

A finished program

A blueprint for creating objects

A type of variable

A method of running code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When naming a Java class file, what convention should be followed?

All lowercase letters

All uppercase letters

Start with a lowercase letter

Start with an uppercase letter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we typically make classes public in Java?

To make the code run faster

To save memory

To allow access throughout the program

To prevent other programmers from using the class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What does a class header in Java consist of?

The class keyword and curly braces

The class keyword and the class name

The public keyword and the class name

The public keyword and curly braces