[Solved] Need help understanding the output of this code. [closed]
Alright let’s see. First you call Circle9() that starts the constructor: /** No-arg constructor */ public Circle9() { this(1.0); System.out.print(“C”); } As you can see the constructor first calls this(1.0) This means that another constructor is opened and afterwards we print “C” Alright the next Constructor is: public Circle9(double radius) { this(radius, “white”, false); System.out.print(“D”); … Read more