Computer Science, asked by TRICKSTER2244, 6 months ago

write a statement to create an object of string class​

Answers

Answered by Anonymous
2

Answer:

\small \green{There are various ways you can create a String Object in Java:</p><p>Using String literal. You can create String objects with String literal. </p><p>String str="Hello!";</p><p>Using new keyword.</p><p> This is the common way to create a String object in java. ... </p><p>Using character array. You could also convert character array into String here }

Answered by bhanuyadav2424
2

Answer:

this will help you mate

Explanation:

please mark as brainliest answer friend

Attachments:
Similar questions