Design & Development 003 Flashcards
1
Q
What is casting?
A
It is when you change a data type into another data type.
2
Q
What is Implicit Casting?
A
It is when the casting is done for you automatically by the program without instruction.
3
Q
What is Explicit Casting?
A
It is when the casting is written by you and done with instruction.
4
Q
What is a Widening Operation?
A
It is when you change the data type to a bigger memory store data type.
5
Q
What is a Narrowing Operation?
A
This is when you change the data type completely (e.g. making a Str into a Int).