单选题:Which one below is true about the StringBuffer class?
Which one below is true about the StringBuffer class? @[D](2)
A. An object of StringBuffer has a fixed size.
B. StringBuffer inherits all the methods from String.
C. An object of StringBuffer can be initialized using the = operator.
D. StringBuffer has append() method to form a larger string.
A.An object of StringBuffer has a fixed size.
B.StringBuffer inherits all the methods from String.
C.An object of StringBuffer can be initialized using the = operator.
D.StringBuffer has append() method to form a larger string.
答案:D
A. An object of StringBuffer has a fixed size.
B. StringBuffer inherits all the methods from String.
C. An object of StringBuffer can be initialized using the = operator.
D. StringBuffer has append() method to form a larger string.
A.An object of StringBuffer has a fixed size.
B.StringBuffer inherits all the methods from String.
C.An object of StringBuffer can be initialized using the = operator.
D.StringBuffer has append() method to form a larger string.
答案:D