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

How do you start a thread?

521


What is the difference between a local variable and an instance variable?

528


Can set contain duplicates?

520


What is difference between class and object in java?

507


What is keyword in oop?

500






Can a static method be final?

529


Can we overload the methods by making them static?

478


What is the difference between compare and compareto in java?

467


What is the this keyword?

525


How many types of design patterns are there?

509


What are different types of references?

499


Enlist diffrent types of inheritance supported by java?

456


What are the methods available in a class?

558


Can I import same package/class twice?

470


Program to Find the second largest element in an array.

567