Computer Science, asked by varshitha6900, 1 year ago

is primitive data type wrapper classes are immutable

Answers

Answered by aditya1022
0
Explanation: All primitive wrapper classes (Integer, Byte, Long, Float, Double, Character, Boolean and Short) are immutable in Java, so operations like addition and subtraction create a new object and not modify the old.
Similar questions