Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Parameter

Parameter

A variable holding an argument received by a function.

Related concepts:  ArgumentFunctionVariable

Closest Wikipedia entry:  Parameter (computer programming)

Misconceptions about Parameter
11 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
CallerFrameContainsCalleeFormal
Stack frame of caller includes variables for callee's formal parameters
Misconception
ConstructorParameterIsField
Formal constructor parameters are equivalent to instance variables
Misconception
ImmutableRequiresFinalParameters
Immutable classes need final constructor/method parameters
Misconception
NamedTypeParameter
To instantiate a generic type, for each type parameter one has to specify both the name and the type
Misconception
PrimitiveTypeParameter
Type parameters of generic types can be instantiated with primitive types
Misconception
StaticCallPolymorphic
A static method call is dispatched polymorphically at runtime based on the argument types
Misconception
UseOfSelfTypeImpliesRecursiveType
If a class has a method that has a local variable, parameter, or return value with the class as its type, the class is a recursive type

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors