Karteikarten
Wrapper
Karten in diesem Stapel (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)
Informationen
- Beschreibung
- Karteikarten am Wrapper, erstellt von BLU BLU am 31/01/2025.
- Erstellt von
- BLU BLU
- Aufrufe
- 0
- Bewertung