1/22
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
method
A group of statements that accomplishes a specific task.
access_modifier
Determines the access level or visibility of the method from another class.
return_type
Specifies whether the method returns a value or not.
MethodName
An identifier and is case sensitive.
parameter list
Refers to the required type, order, and number of the parameters of a method.
method body
Contains a set of statements that performs the specific task of the method.
method signature
The combination of access level, return type, method name, and parameters.
argument
Required values passed to the method during invocation.
method overloading
Allows methods of the same name to be declared in the same class with different sets of parameters.
structure
A value type data type that holds related data of various data types.
struct
Keyword used for creating a structure.
constructor (in struct)
Used to initialize struct fields via an instance of a struct object.
value type
A type where variables directly contain their values.
reference type
A type where variables store memory addresses of where actual values are stored.
interface
A contract that can be implemented by a structure, but not inherited.
Class
A data structure or a blueprint that defines data and actions in a single unit.
Object
Instances of classes are created using the new keyword which allocates memory for a new instance, invokes a constructor to initialize the instance, and returns a reference to the instance.
Encapsulation
The process of hiding or encapsulating data from the outside world.
Property
The properties use a pair of public mutator (set) and accessor (get) methods to manipulate private data members of a class.
this
The this keyword refers to the object or the current instance of the class.
Constructor
A special method where its name is the same as the name of its type (class or structure).
Overloading Constructors
Constructors can be overloaded like all methods.
Namespace
Provides a logical grouping to organize related classes, structures, interfaces, and other types.