স্ট্রিং বাফার এবং স্ট্রিং বিল্ডার এর পার্থক্য
|
স্ট্রিং বাফার |
স্ট্রিং বিল্ডার |
|
StringBuffer is synchronized i.e. thread safe. অর্থাৎ দুইটি থ্রেড একসাথে স্ট্রিং বাফার এর মেথড কে কল করতে পারেনা। |
StringBuilder is non-synchronized i.e. not thread safe.অর্থাৎ দুইটি থ্রেড একসাথে স্ট্রিং বিল্ডার এর মেথড কে কল করতে পারে। |
|
StringBuffer StringBuilder থেকে কম efficient |
StringBuilder StringBuffer থেকে বেশি efficient |
Created with the Personal Edition of HelpNDoc: Effortlessly Support Your Windows Applications with HelpNDoc's CHM Generation