Wednesday, December 25, 2019

Source code for Java program to Insert a String?


Source code for Java program to Insert a String


public class StrInsert
{
    public static void main(String[] args)
    {
        StringBuffer a=new StringBuffer("Java programming is ");
        System.out.println(a.insert(20,"fun"));
   

    }
}

No comments:

Post a Comment