Section 1

Preview this deck

Object

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (20)

Section 1

(20 cards)

Object

Front

A runtime entity whose states are saved in fields and behaviors are shown by methods

Back

Polymorphism

Front

The ability of an object to take many forms

Back

abstract method

Front

A method that has no implementation.

Back

Constructor

Front

A method for creating an object in a class.

Back

inheritance

Front

When an Object acquires the properties of another object

Back

static variable

Front

A class variable who uses the static keyword and declared outside of a method, constructor, or block

Back

Encapsulation

Front

When you make the fields of a class private but provide access by public methods

Back

local variable

Front

A variable defined inside a function

Back

Method

Front

a collection of statements that are grouped together to perform an operation.

Back

Type casting

Front

Treating a variable of one type as another type

Back

Vector class

Front

Implement a growable array of objects

Back

class variables

Front

Declared in a class but outside of a method

Back

abstract class

Front

a class that cannot be instantiated

Back

Constructors vs methods

Front

Constructors must have the same name as the class and can not return a value

Back

Overloading vs Overriding

Front

Superclass parameter must be different in overloading but the same in overriding

Back

Class

Front

A blueprint for creating new objects

Back

Function overriding

Front

Subclass provides a specific implementation already provided by parent class

Back

Immutable Object

Front

An object whose value cannot be changed.

Back

instance variable

Front

variable only available to one instance of a class

Back

function overloading

Front

Multiple functions by the same name but different parameters

Back