title: how to construct a method as like as "concat()"
body: <pre><code> i have coded....
  
  public class mystring{
   public String concaT(String s1,String s2){
      s1=s1+s2;
      return s1;
    }
   public static void main(String[] args){
      String s="stack at";
      mystring obj=new mystring();
      System.out.println(s.concaT("concat"));
    }
  }
  </code></pre>
  
  <p>the thing is, the main method is taking input concaT(s,"concat"), but i want to use s.concaT("concat"). how to make it possible???</p>