Can we convert stringbuffer to string?



Can we convert stringbuffer to string?..

Answer / Yogendra Singh Meena

Yes, "StringBuffer" can be converted to "String" using the "toString()" method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do I enable java in safari?

1 Answers  


What is sizeof () operator?

1 Answers  


Can we able to pass objects as an arguments in java?

1 Answers  


Is null keyword in java?

1 Answers  


How do you add an element to an arraylist in java?

1 Answers  


How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }

1 Answers  


What is an empirical question?

1 Answers  


can we take more than one null values for Unique constraints.

1 Answers   3i Infotech,


What is final?

1 Answers  


Is singleton class thread safe?

1 Answers  


What is collections framework?

1 Answers  


What is space character in java?

1 Answers  


Categories