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
Differentiate CHAR_LENGTH and LENGTH?
Explain the difference between mysql_fetch_array(), mysql_fetch_object()?
What is the difference between truncate and delete?
How to show all records starting with the letters 'sonia' and the phone number '9876543210'
How many mysql connections can handle?
What are the functions of mysql?
How to dump one database for backup.
Why do we write stored procedures?
How many rows we can insert in a mysql table?
What are the 5 r's of managing behaviors?
What could be the reason that the mysql statement 'select avg (salary) from emp' generates an inaccurate output?
what is database black box testing? : Mysql dba
How do I create a stored procedure in mysql?
What are the different types of triggers in mysql?
How can you create and drop view in mysql?