CIS150 C# Ch 4 Methods and Behaviors

CIS150 C# Ch 4 Methods and Behaviors

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

ref

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 (16)

Section 1

(16 cards)

ref

Front

parameter type used with call by reference where the address of an argument is sent into a method

Back

overloaded methods

Front

multiple methods with the same name, but each has a different number or type of parameter

Back

optional parameter

Front

when you assign a default value to a parameter

Back

parameter

Front

items that appear in the parentheses in the heading of the method

Back

out

Front

parameter type used with call by reference. Parameter does not have to be initialized

Back

scope

Front

the region of the program in which that identifier is usable

Back

definition of the method

Front

the heading and the body of the method

Back

named parameter

Front

use the name of the parameter in the method invocation along with the argument's value

Back

camel case style

Front

used for data member identifiers, it specifies that the first letter of identifiers is lowercase and the first letter of each subsequent concatenated word is capitalized.

Back

entity

Front

person, place, or thing; normally a noun of which a class is defined around

Back

heading

Front

first line of a method is called the heading

Back

formal parameters

Front

items that appear in the parentheses in the heading of the method; sometimes called formal arguments

Back

Pascal case style

Front

used for class and method identifiers; specifies that the first character is uppercase and subsequent words begin with an uppercase character

Back

actual arguments

Front

items that appear in the parentheses with the method name in the call to the method; sometimes called actual parameters

Back

argument

Front

items that appear in the parentheses with the method name in the call to the method

Back

call by value

Front

a copy of the original value is made and stored in a separate, different memory location so that the original value is not impacted if the method changes the one sent to it

Back