Using user defined method to print line to console in java
<p>I have simple program like this</p>

<pre><code>class println 
{
  public static void main(String[] args) 
 {
  System.out.println("Hello World!");
 }
}
</code></pre>

<p>But i dont want to use <code>System.out.println</code> to print..i want to use my own user defined method to print the data.</p>
