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
State the differences between mongodb and mysql.
What are mysql functions?
How do I edit a trigger in mysql?
What is max connections in mysql?
How many triggers are possible in mysql?
What could be the reason that the mysql statement 'select avg (salary) from emp' generates an inaccurate output?
how you will Create a database on the mysql server with unix shell.
How to use like conditions?
How many rows can mysql handle?
Is mysql a database?
What is mysql workbench used for?
How to enter boolean values in sql statements?
What is truncate command?
What is mysql connection limit?
What is the difference between truncate and delete?