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";



In the below example, how many String Objects are created? String s1="I am Java Expert"; ..

Answer / 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

More MySQL Interview Questions

What is mysql aggregate functions? Explain

0 Answers  


How to rename an existing table in mysql?

0 Answers  


Which is best pdo or mysqli?

0 Answers  


How can we change the data type of a column of a table?

0 Answers  


How to increment dates by 1 in mysql?

0 Answers  


suppose server is running Suddenly down . what can you do? but i want do not down the server?

3 Answers  


What are the difference between and myisam and innodb?

0 Answers  


what is database black box testing? : Mysql dba

0 Answers  


How do you start MySQL on Linux?

5 Answers   Cybernet,


How can you find out the version of the installed mysql?

1 Answers  


How do I run mysql?

0 Answers  


Is mysql a dbms?

0 Answers  


Categories