Home
Explore
Exams
Login
Get started
Home
Note
Flashcards
Typer och typsystem
0.0
(0)
Rate it
Studied by 0 people
Note
Call Kai
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Knowt Play
Card Sorting
1/9
There's no tags or description
Looks like no tags are added yet.
10 Terms
View all (10)
Star these 10
1
New cards
Definition of data types
Data types define the kind of data that can be stored and its behavior.
2
New cards
Type safety
The guarantee that types are used correctly in programming.
3
New cards
Static type checking
Type checking that occurs at compile time.
4
New cards
Dynamic type checking
Type checking that takes place at runtime.
5
New cards
Static type vs. dynamic type
A type defined at compile time vs. a type defined at runtime.
6
New cards
Primitive type vs. reference type
Simple data types (e.g., int) vs. complex data types (e.g., objects).
7
New cards
Examples of primitive types
Examples include int, double, boolean, and char.
8
New cards
Value vs. object
Values are primitive types while objects are references.
9
New cards
Subtype
A type that specializes another type.
10
New cards
Broad types vs. narrow types
General types versus specific subtypes.