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 the use of mysql_close()?

0 Answers  


Why do we use pragma autonomous transaction?

0 Answers  


What is a select query?

0 Answers  


Do while loop in mysql procedure?

0 Answers  


How to dump a table from a database.

0 Answers  


Which command is used to view the content of the table in mysql?

0 Answers  


How do you login to MySql using Unix shell?

0 Answers  


How can we find out which auto increment was assigned on Last insert?

0 Answers  


Will mysql remain free?

0 Answers  


How many tables will create when we create table, what are they?

2 Answers  


What is difference between statement and preparedstatement?

0 Answers  


Hi Team, This is kartik, I recently completed my B-tech. Importance of posting this question is for to know the best books on SQL(MYSQL/Oracle)? I like SQL concept's so much, at the same time i decided to choose SQL for my career purpose. So please suggest me the best books that are very helpful for a fresher to improve concepts like (SQL/PLSQL)Basics, programming concepts, architectures etc. Please consider my request as an important one. I am very thankful to you for providing this opportunity. If possible can you please send the names of books for my personal id also: karthikgdv1206@yahoo.com. Thanks, Kartik T

0 Answers  


Categories