ariestamirra

conv edit

Apr 15th, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.22 KB | None | 0 0
  1. public class Conv{
  2. public static void main(String argv[]){
  3.     Conv c = new Conv();
  4.     String s = new String("ello");
  5.     c.amethod(s);
  6. }
  7.     public void amethod(String s){
  8.         String c = "H";
  9.         c += s;
  10.         System.out.println(c);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment