employer cover photo
employer logo
employer logo

Huawei Technologies

Is this your company?

Huawei Technologies Interview Question

what is the immutable ,give some example

Interview Answers

Anonymous

May 25, 2022

in object-oriented and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is created. This is in contrast to a mutable object (changeable object), which can be modified after it is created.

Anonymous

May 25, 2022

An immutable object is an object whose state cannot be modified After it is created. Example native j.s values that are immutable are numbers and strings on the other hand , that are mutable include objects, Arrays, functions, classes, sets and maps.