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
How to check if value already exists in mysql database in php?
Is mysql frontend or backend?
How to create a table?
What is definer in mysql trigger?
What is a blob datatype?
Explain about reporting services of MYSQL?
Can you tell a way to know the number of days between the two given dates in php?
What are the different column comparison operators in mysql?
How do I fix a crashed mysql database?
How can you export the table as an xml file in mysql?
How do I change mysql password?
What you can use regular expression for in mysql? Support your answer with an example?
Is blocked because of many connection errors unblock with mysqladmin flush hosts?
How do I drop a database in mysql?
Please can the SQL code below be interpreted IF @xMatchCriteria='MATCH12' BEGIN IF EXISTS (Select * from #InsightData where (EmailAddress=@xDCPEmailAddress ) ) BEGIN SET @xTestMatchCriteria = @xMatchCriteria; SELECT @xCRMCustomerId=CustomerId, @xCRMDcpCustomerId=DcpCustomerId, @xCRMPortalCustomerID=PortalCustomerID,@xCRMDcpID=DcpID, @xCRMCardNumber=CardNumber, @xCRMEmailAddress=EmailAddress, @xCRMfirtLetterFirstName=firtLetterFirstName, @xCRMLastName=Surname,@xCRMAddressLine1=AddressLine1, @xCRMPostCode=PostCode FROM #InsightData where (EmailAddress=@xDCPEmailAddress ) END ELSE BEGIN SET @xTestMatchCriteria='No'+@xMatchCriteria; END END