Core Java Interview questions


Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

What are the different type of constructors available in StringBuffer class in java?

There are 3 types of constructors available in StringBuffer class.

 1.StringBuffer()

2.StringBuffer(String str)

3.StringBuffer(int capacity).

 




Next 5 interview question(s)

1

Can muliple threads access simultaneously in the case of StringBuffer class in java?

2

What do you know about StringBuffer class in java?

3

What is the return type of valueOf(Object o) method of java.lang.String class in java?

4

What is the return type of valueOf(double d) method of java.lang.String class in java?

5

What is the return type of valueOf(float f) method of java.lang.String class in java?