Java Static Initializer Block

  • + 0 comments

    just use if(flag==false) { System.out.println("java.lang.Exception: height and breadth must be positive"); }

    thats it. :)