Integrative Programming Flashcards
Pre-Final Exam (25 cards)
A group of statement that accomplishes a specific task.
method
Determines the access level or visibility of the method from another class.
access_modifier
Defines that the method can only be called i the class where it is declared.
private
Defines that the method is accessible by all other classes in your application.
Public
Specifies whether the method returns a value or not.
return_type
data type of the value that
the method should return using this keyword.
return
If a method should return an integer value.
int
If the method is not returning any values.
void
An identifier and is case sensitive.
MethodName
Refers to the required type, order, and number of the parameters of a method.
parameter list
Are use to pass and receive date from a method.
Parameters
Contains a set of statements that performs the specific task of the method.
method body
Methods are declared within a class or structure by specifying the access level. and any method parameters
method signatures
Methods are invoked by typing the method name followed by parentheses. The required values, if any, are enclosed within the parentheses.
arguments
Methods of the same name can be declared in the same class as long as they have different sets of parameters.
method overloading
Used to make a single variable that holds related data of various data types.
Structures
They keyword used for creating a structure.
struct
A data structure or a blueprint that defines data and actions in a single unit.
class
A class defines dynamically created instances also known as ____.
objects
Instances of classes are created using this keyword.
new
The process of hiding data from the outside world.
Encapsulation
This keyword refers to the object or the current instance of the class.
this
A special method where its name is the same as the name of its type.
constructor
Provides a logical grouping to organize related classes, structures, interfaces, and other types.
namespace