Core Java Interview questions


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

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

No, multiple threads cannot access it simultaneously. So StringBuffer class is safe and will result in an order. Java StringBuffer class is thread-safe.

 




Next 5 interview question(s)

1

What do you know about StringBuffer class in java?

2

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

3

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

4

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

5

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