Java Programming
primer-original-v2mediumJava Programming4. Arrays And Stringsprimer-original-v2

__________________ is the string contained in s after following lines of code? StringBuffer s = new StringBuffer(Hello); s.deleteCharAt(0);

Answer options

A
llo
B
hell
C
Hel
D
ello

Correct answer: llo

Explanation

Quick AnswerThe correct answer is llo because it directly addresses the core logic of Java Programming.

This question has been retained as-is due to its unique context.

Related Java Programming questions

Practice more Java Programming questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.