1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
class
set of user-defined attributes and functions acting as a blueprint
object
an instance of a class, inheriting the attributes and functions of it
attribute
a variable/property in the class
method
a function/procedure in the class
private
cannot be manipulated or changed by the user without methods
public
can be manipulated or changed by the user
constructor
a special method that initialises the attributes of a class in a new object
getters
methods that are designed to return the value of an attribute in an object to the user
setters
methods that are designed to set a value of an attribute in an object.
instantiation
the process of producing new copies of a class as objects
encapsulation
the technique of keeping everything contained in classes and hiding internal details
polymorphism
using the same method name in different objects that execute different blocks of code
parameter passing
providing a procedure or function with data parameters
global variable
variable kept in memory for entire time of program execution
selection
when another branch of the program is executed due to a condition
variable scope
which procedures and functions a variable is accessible from