What's the output of the following code after removing errors?

Posted by asdf on Stack Overflow See other posts from Stack Overflow or by asdf
Published on 2010-03-09T07:55:55Z Indexed on 2010/03/09 9:21 UTC
Read the original article Hit count: 141

Filed under:
|
Class A
{
 public A()
 {
  system.out.println("con call");
 }
 static
 {
  system.out.println("static call");
 }
 {
  system.out.println("ins call");
 }
 public static void main(string[] args)
 {
  new A();
  new A();
 }
}

© Stack Overflow or respective owner

Related posts about java

Related posts about beginner