J
J
Java Developer2021-03-26 19:00:22
Java
Java Developer, 2021-03-26 19:00:22

Z+=i what does this operator do?

Please show an example on Scanner. z+=i what does this operator do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Siomin, 2021-03-26
@Elxanjv_1

Increases z by i.
For example:

int Z = 10;
int i = 5;
Z+=i;
println(Z); //будет 15

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question