English, asked by 8919870906dj, 23 days ago

i minute ago
16. final class Complex {
private final double re;
private final double im;
public Complex(double re, double im) {
this.re = re;
this.im = im;
}
public String toString() {
return "C" + re + " + " + im + "i)";
}
}
class Main {
public static void main(String args[]) {
Complex C = new Complex(10, 15);
System.out.println("Complex number is " + c);
}
}

Answers

Answered by chandana9736
1

sorry I didn't understand

Similar questions