In the below example, how many String Objects are created?
String s1="I am Java Expert";
String s2="I am C Expert";
String s3="I am Java Expert";
Answer Posted / hrindows@gmail.com
In the above example, two objects of Java.Lang.String class are created. s1 and s3 are references to same object
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does schema mean?
How to delete a database from mysql server.
What are the differences between char and varchar?
Write a query to count the number of rows of a table in mysql.
How would you get the current date in mysql?
How can you change the password of a mysql user?
Who owns mysql database?
How do I uninstall mysql connector?
What is a table schema?
What is a tinyint?
What language does mysql use?
What is tee command in mysql?
Where is mysql data stored linux?
How to find the unique values if the value in the column is repeated?
How do I export mysql query results to excel?