Question: Question 1 1 2 ptsDoes the above code change the contents of the string?No , the first String Java still exists after the assignment but
Question
ptsDoes the above code change the contents of the string?No the first String "Java" still exists after the assignment but can no longer be accessed.No you cannot reassign s to HTML since Strings are immutable.Yes, the first String "Java" has been changed to HTMLYes, the first String "Java" has been appended with HTML
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
