Replying...
Intro. Create prompt to illustrate whether a String is being treated as an object in Java.

String as object

@Shivam Agarwal