MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Java knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
HE?$ |
| A. | Hel |
| B. | lo |
| C. | llo |
| Answer» D. | |
| 2. |
Hell |
| A. | ello |
| B. | Hel |
| C. | llo |
| Answer» B. Hel | |
| 3. |
Which of this method of class StringBuffer is used to concatenate the string representation to the end of invoking string? |
| A. | concat() |
| B. | append() |
| C. | join() |
| D. | concatenate() |
| Answer» C. join() | |