What is the output of this program?
String(chars) is a constructor of class string, it initializes string s with the values stored in character
array chars, therefore s contains "abc".output:$ javac String_demo.java$ java String_demoabc
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: