Java / Strings
How do you create a String object?
We can create String object using new operator like any other class. Alternatively you can create by assigning String literals using double quote.
More Related questions...
New software-engineering topics and practical interview questions.
Follow @javapediaNetWe can create String object using new operator like any other class. Alternatively you can create by assigning String literals using double quote.
More Related questions...
instanceof Cloneable is checked?
What is the default implementation of equals method in Object class.
|
Interviews Questions |
About Javapedia.net Javapedia.net is for Java and J2EE developers, technologist and college students who prepare of interview. Also this site includes many practical examples. This site is developed using J2EE technologies by Steve Antony, a senior Developer/lead at one of the logistics based company. |
||
| contact: javatutorials2016[at]gmail[dot]com | |||
| Kindly consider donating for maintaining this website. Thanks. |
|||
|
Copyright © 2026, javapedia.net, all rights reserved. Privacy Policy · Terms of Service. |
|||