In Java void method calling
<p>In java is there a way to call a void method from a constructor.I try something like this but get an error message that the compiler can not find symbol method printThis(java.lang.String):</p>

<pre><code>public class Date{

public Date(String inString){

  String s = inString;

   String b;


     b.printThis(s);

}


public void printThis(getString)

{

System.out.printf(System.out.printf( new SimpleDateFormat("MM/dd").format(new SimpleDateFormat("MM/dd").parse(getString) ) );

}
</code></pre>
