Please debug | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
17th Mar 2021, 7:04 PM
Amateur
5 Respostas
+ 2
Fatemeh Constructor name should be same as class name. https://code.sololearn.com/c9nO614M33pP/?ref=app
17th Mar 2021, 7:09 PM
AĶ¢J
AĶ¢J - avatar
+ 1
Thank u so much
17th Mar 2021, 7:11 PM
Amateur
+ 1
And obviously, you probably want to print the result of adding z1 and z2. It needs to be z3.println()
17th Mar 2021, 8:15 PM
Eddy M
+ 1
TruešŸ‘Œ
18th Mar 2021, 1:33 AM
Amateur
+ 1
Class was "Complex" but constructor was "complex"
18th Mar 2021, 5:46 PM
Amateur