Friday 4 July 2014

appendCodePoint (int codePoint)

public synchronized StringBuffer appendCodePoint(int codePoint)
Appends the string representation of the codePoint argument to this sequence. The length of this sequence increases by Character.charCount(codePoint).

public class StringBufferAppendCodePoint {
    public static void main(String args[]){
        StringBuffer s1 = new StringBuffer("Value of s1 is ");
        s1.appendCodePoint(63);
        
        System.out.println("s1 = " + s1);
    }
}


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment