Please use tags. Please use a meaningful topic title. Why use a method Test with the same name as your class? Perhaps if you rename the method it will be easier to understand what is happening.
What type is the literal 1.0 and what constructor will be called? [ June 30, 2006: Message edited by: Barry Gaunt ]
First the no arg constructor is called. Which calls the constructor with the integer as a formal paramter passing 7 as a parameter. Then there is a this() call which calls the constuctor with double as formal parameter which prints 3.0 then the Test method is called from the constructor taking int. Since it recieved 7 as a parameter same gets printed.
I hope you asked for the reason why 3.0 and 7 is the output.