Which of these class is superclass of string and stringbuffer class?
Answers
Answered by
1
✔✔✔✔Ur answer✔✔✔✔
⭐Therefore⭐ the other 2 classes are used. ✔✔The difference is that StringBuilder class is faster than StringBuffer class but it is not thread safe. ☺☺☺
✔✔In other words objects of StringBuilder class are not synchronized. ☺☺☺☺
✔✔All have ✔java.lang.✔Object as their superclass.☺☺☺☺
⭐Therefore⭐ the other 2 classes are used. ✔✔The difference is that StringBuilder class is faster than StringBuffer class but it is not thread safe. ☺☺☺
✔✔In other words objects of StringBuilder class are not synchronized. ☺☺☺☺
✔✔All have ✔java.lang.✔Object as their superclass.☺☺☺☺
Similar questions
Social Sciences,
7 months ago
Social Sciences,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Hindi,
1 year ago