Welcome Akshay

This is the friendliest java forum in the entire universe
bar b=new bar(s);
This invokes the String constructor of bar class. bar(String s) {// super(s);}
Note: Every child class constructor must explicitly or implicitly invoke the parent class constructor. In the child class bar(String s) {} will implicitly have a call to super() or you can explicitly call class bar(String s) { super();} In this case there must be a boo(){} defined in parent class or class bar(String s) { super(s);} in this case there must be boo(String s) {} defined in boo class.
Note when you define a parameter constructor in your class Java compiler will not place its default no argument constructor, its your job to define to explicitly as explained above.
Hope this clears