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 is tee command in mysql?
What is a trigger in mysql?
Is blocked because of many connection errors unblock with mysqladmin flush hosts?
Differentiate CHAR_LENGTH and LENGTH?
What is a transaction? Describe mysql transaction properties.
In which year mysql created?
What is the data source name for mysql?
What is difference between schema and table?
Can we store videos in mysql database?
How to return query output in xml format?
What are string data types?
How to make a copy values from one column to another in mysql?
Is primary key auto increment?
How can I create table in mysql?
Does mysql use t sql?