Flashcards
Casting
Cards in this deck (7)
- 1float/double to intRounds down to nearest int
- 2String to intCannot convert from string to int
- 3boolean to intcannot cast from boolean to int
- 4char to Stringcannot convert from char to String
- 5byte to intFor values between -128 to 127
- 6int to byteIf -128 > value > 127 , over or underflows.
If it overflows, it goes back to the minimum value and continues from there. If it underflows, it goes back to the maximum value and continues from there. - 7int to float/doubleAdds a floating point
Information
- Description
- Flashcards on Casting, created by karloski on 16/05/2015.
- Created by
- karloski
- Views
- 1
- Rating