OOP Flashcards
Object
Building blocks in coding
Variables, functions, etc
Class
Template for creating objects
Constructor
Builds a new object
Inheritance
Sub class, superclass to utilize code already built
Package
Acts as a directory for java classes
Encapsulation
Utilizing private and public data in the same code to execute a program
Getters and setters
Polymorphism
Object takes place in many different forms Utilized sub and superclass to assign values in polymorphic arrays
Abstraction
Class you can’t create objects from
Often used with superclasses due to how general they are
Interface
Specifies a behavior classes must implement in using it
SQL
Structured query language
SQL syntax
Create Update Select Delete Etc
Select
SELECT * FROM customers;
SELECT customerName, city FROM customers;
SQL Distinct
Selects distinct columns
SQL where
Selecting a record if they meet certain criteria
Select and or not
Selects a record either including separate or not referencing certain criteria