Section 1

Preview this deck

this

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 14, 2020

Cards (33)

Section 1

(33 cards)

this

Front

used to refer to the current instance of the class within member functions and also to call a constructor within another constructor

Back

interface

Front

a structure like an abstract class where all member methods are abstract. may not contain non-static data members

Back

object

Front

a single instance of a class and you typically use many objects in a client program. has a: name state behavior

Back

abstract method

Front

one that is defined without implementation.

Back

int value

Front

%d

Back

class

Front

template for a data type

Back

inheritance

Front

allows us to create classes that build upon other classes

Back

has-a

Front

when class A contains an object of class B among its data member

Back

private member

Front

can only be accessed by the class in which they are defined. usually used w data member variables

Back

state of an object

Front

the set of values stored in data members aka member variables, instance variables, instance fields or properties

Back

public members

Front

can be accessed by any class. used w member methods and constructors

Back

overloaded

Front

several constructors with the same name implemented in the class but they each must have a different list of parameters.

Back

3 types of member methods

Front

constructors modifiers accessors

Back

is-a

Front

when class A is a subclass of class B

Back

reference types

Front

those that are objects

Back

data members have access rights ----- and ----

Front

public or private

Back

dot operator

Front

used between the object name and the member name in accessing members of objects

Back

garbage collection

Front

the run-time unit's practice of clearing memory of variables and objects that are no longer being used by code as it executes. done automatically w Java

Back

child class

Front

derived or sub class built upon the base class

Back

super

Front

allows us to call an analogous method of a parent class

Back

modifiers

Front

allow changed to the state of objects. also known as mutators or settors. named with prefix set

Back

primitive types

Front

basic types that are not objects

Back

static

Front

makes a class member variable a single member variable that is shared by all instance (i.e. objects) of a class in a client program. also referred to as class member variable

Back

behavior of an object

Front

member methods and define the set of operations that it can invoke

Back

parent class

Front

original class, (base or super class)

Back

accessors

Front

allow clients to use information about the state of objects outside of the class. also known as getters. named w prefix get

Back

protected

Front

can be accessed by the classes in which they are defined and in subclasses of that class but not other classes

Back

Polymorphism

Front

"many forms". we can program and operation that behaves in many different ways.

Back

%f

Front

double or float value

Back

final

Front

keyword to make a constant

Back

constants

Front

initialized and never assigned a new value

Back

wrapper class

Front

contain a sole data member: a primitive type variable

Back

constructors

Front

instantiate (construct) objects from the class

Back