linkedin-skill-assessments-quizzes
linkedin-skill-assessments-quizzes copied to clipboard
Java Q87
Isn't something missing in the code of this question? Because as it is, I think the correct answer should be "The code does not compile", instead of "A runtime exception is thrown"
Hi @kgoedert what do you think about this? issue in Line - sb.deleteCharAt(0).insert(0, "H")." World!"; correct way - The correct way to append a string to a StringBuilder in Java is to use the append method, Like this - sb.deleteCharAt(0).insert(0, "H").append(" World!");
For me, now the code is correct and would be consistent with the answer marked as correct
can you please assign me this issue to solve as I have clearly understood the issue? Also I have a good knowledge in java.
Hi, I have worked with java and I can solve this problem. I will take a look into this.
@kgoedert can u please take a look into this pr and merge this if possible
@kgoedert I have pretty much experience in Java. can I work on this?
This is has got merged! So its better to close it to stop creating confusions!!