OOP Flashcards
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
abstract class
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. This section explains why this is useful, and introduces you to the Application Programming Interface (API) provided by the Java platform.
polymorphism
allows you to implement multiple methods within the same class that use the same name but a different set of parameters.
Encapsulation
It describes the idea of bundling data and methods that work on that data within one unit, e.g., a class in Java.
Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.
inheritance
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. This section explains why this is useful, and introduces you to the Application Programming Interface (API) provided by the Java platform.
package
constructor
a special method that is used to initialize a newly created object and is called just after the memory is allocated for the object.
An Interface is 100% abstract class. An interface can’t be instantiated (cannot make its objects).
interface
allows you to implement multiple methods within the same class that use the same name but a different set of parameters.
polymorphism
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. This section defines a simple interface and explains the necessary changes for any class that implements it.
a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
abstraction
interface
An Interface is 100% abstract class. An interface can’t be instantiated (cannot make its objects).
A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavior.
class
It describes the idea of bundling data and methods that work on that data within one unit, e.g., a class in Java.
Encapsulation
Inheritance
Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.
abstraction
a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
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. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.
a special method that is used to initialize a newly created object and is called just after the memory is allocated for the object.
constructor
abstract class
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
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. This section defines a simple interface and explains the necessary changes for any class that implements it.
interface
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. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.
object
class
A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavior.