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


Please Help Members By Posting Answers For Below Questions

What is blob datatype in mysql?

686


What is the function of myisamchk?

744


How to enter microseconds in sql statements?

733


What is memory table in mysql?

719


Explain the architecture models of SQL Server?

2104


How to use in conditions?

754


What are the functions of mysql?

689


How to load data files into tables with 'mysqlimport'?

700


What is the difference between heap table and temporary table?

879


How to connect html form to mysql database using php?

701


Is mysql relational?

711


How do I free up space in mysql?

689


How big is a blob mysql?

691


How to drop an existing index in mysql?

791


What is default password for mysql?

685