IN JAVA Which of the following are correct about String, StringBuilder and Array
ID: 3703498 • Letter: I
Question
IN JAVA
Which of the following are correct about String, StringBuilder and ArrayList? Select all that apply. (1 point) An ArrayList cannot be initialized as an ArrayList to store primitive type values. StringBuilder object referenced by sb will be changed after sb.append(8B") capacity of a StringBuilder stands for the elements stored in the StringBuilder For StringBuilder we use append() to put letters at the end but for ArrayList we use add) to put elements at the end. String object referenced by s will be changed after s.toLowerCase()Explanation / Answer
Answer : (a), (b), (d)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.