Menu
Question Index
...

What will be the output of the following program?

public class Triangle {
    public static void main(String args[]) {
        StringBuffer s = new StringBuffer("output of the following program?");
        s.insert(15, "two");
        System.out.println(s);
    }
}


output of the ftwollowing program?
output of the ftwoollowing program?
output of the folloowing program?
Compilation Error or Runtime Error

Doubts

Problems

Topic: Java StringBuffer insert() Method With Example

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App