What will be the output of the following

String S = 1+2+"abc" S = ?
String S1 = 1+2+"abc"+5+6 S1 = ?

Answer Posted / shwetha

it will through the error..as Invalid number.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I save the results of sql query in a file?

520


Is sql open source?

533


What is sql query limit?

501


how to enter numeric values as hex numbers? : Sql dba

559


How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?

587






How to use distinct and count in sql query? Explain

600


How do I run a sql query in pgadmin 4?

532


Is there any restriction on the use of union in embedded sql?

663


what is meant by urlencode and urldocode? : Sql dba

590


how to drop an existing index in mysql? : Sql dba

527


What is scalar function?

558


describe mysql connection using mysql binary. : Sql dba

535


Does truncate table reset auto increment?

517


What is difference between rank () row_number () and dense_rank () in sql?

559


When can we use the where clause and the having clause?

566