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 clob in mysql

0 Answers  


Write a command to list all databases in mysql?

0 Answers  


How do I install mysql on windows 10 64 bit?

0 Answers  


How many rows can a mysql table hold?

0 Answers  


Where is the myisam table stored?

0 Answers  






What is the maximum connection pool size?

0 Answers  


How to show all records starting with the letters 'sonia' and the phone number '9876543210'

0 Answers  


What are some good ideas regarding user security in MySQL?

2 Answers  


Have you ever used MySQL Administrator and MySQL Query Browser? Describe the tasks you accomplished with these tools?

1 Answers   TCS,


How to get current MySQL version?

0 Answers  


What is mysql community server?

0 Answers  


How to enter boolean values in sql statements?

0 Answers  


Categories