Why print 5 | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why print 5

Because addToOne() method does not return the value of num therefore the method addToOne() does not effect the value of x

9th Oct 2020, 2:39 AM
Muhammad Kashif
Muhammad Kashif - avatar
1 Resposta
0
Oops sorry I forgot
9th Oct 2020, 2:43 AM
Muhammad Kashif
Muhammad Kashif - avatar