002 - Object-Oriented Programming Concepts Flashcards
A software object’s state is stored in ___.
Class fields
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
Real-world objects contain ___ and ___.
States and behaviors
______ is a software bundle of related state and behavior.
An object
__________ are often used to model the real-world objects that you find in everyday life
Software objects
_______ is a blueprint or prototype from which objects are created
A class
__________ is a contract between a class and the outside world.
An interface
_______ is a namespace for organizing classes and interfaces in a logical manner.
A package
Placing your code into ________ makes large software projects easier to manage.
packages