You are creating a calculator that manipulates complex numbers. Write a class named Complex. It must have two double fields named real and imaginary.
Computer scienceProgramming languagesJavaCode organizationObject-oriented programmingClasses and objectsClasses and members
Defining classes
Complex numbers
Report a typo
Write a program in Java 17
// write the class Complex here
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.