Fichas
Wrapper
Fichas del conjunto (5)
- 1How to convert primitive value to wrapper object?valueOf()
z.B.
Integer num1 = Integer.valueOf(billNo); - 2How to convert wrapper object to primitive valueintValue()
int billNo = num1.intvalue();
doubleValue() - 3How is it called the conversion from primitive data type to objectautoboxing
- 4How is it called if one wrapper object is unwrapped into a primitve value?unboxing
- 5How to convert String to primitive?parseInt()
String num = "2345"
int billNo = Integer.parseInt(num);
oder:
Double.parseDouble(num)
Información
- Descripción
- Fichas sobre Wrapper, creado por BLU BLU el 31/01/2025.
- Creado por
- BLU BLU
- Visitas
- 0
- Valoración