Object-Oriented Programming Concepts
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
What is an Object? | An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life.
🗑
|
||||
What is a Class? | A class is a blueprint or prototype from which objects are created.
🗑
|
||||
What is Inheritance? | Inheritance provides a powerful and natural mechanism for organizing and structuring your software.
🗑
|
||||
What is an Interface? | An interface is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that interface.
🗑
|
||||
What is a Package? | A package is a namespace for organizing classes and interfaces in a logical manner. Placing your code into packages makes large software projects easier to manage.
🗑
|
||||
Real-world objects contain___and___. | state_____behavior.
🗑
|
||||
A software object's state is stored in___. | fields.
🗑
|
||||
A software object's behavior is exposed through___. | methods.
🗑
|
||||
Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data___. | encapsulation.
🗑
|
||||
A blueprint for a software object is called a ____. | class.
🗑
|
||||
Common behavior can be defined in a___and inherited into a___using the___keyword. | superclass, subclass, extends.
🗑
|
||||
A collection of methods with no implementation is called an____. | interface.
🗑
|
||||
A namespace that organizes classes and interfaces by functionality is called a____. | package.
🗑
|
||||
The term API stands for____. | Application Programming Interface.
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
1655516278
Popular Computers sets