Difference between String & StringBuffer

Answer Posted / devang bhagdev

in string class that is synchronized is not allows and i stringbuffer class synchronized is allows us

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is passing parameters in java?

509


What is array class in java?

588


What do negative exponents mean?

540


How many bits is a double?

524


Can a lock be acquired on a class in java programming?

526






What is map java?

508


When throw keyword is used?

576


what do you understand by the term string with respect to java?

520


Why is String immutable?

609


Is string a wrapper class?

505


How many types of operators are there?

512


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

1928


How many bytes is string in java?

599


Mention some interfaces implemented by linked list in java.

532


Explain all java features with real time examples

1202