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 to dump a table to a file with 'mysqldump'? : Sql dba

557


what is the difference between union and union all? : Sql dba

550


what is the difference between nested subquery and correlated subquery?

554


How we can update the view?

605


Can we create view in stored procedure?

528






What is a primary key example?

520


How many functions are there in sql?

546


What is not equal in sql?

517


what is the use of set statement in tsql? : Transact sql

538


What is %type in pl sql?

545


What is the sql query to display the current date?

555


What is primary key sql?

548


How many types of privileges are available in sql?

739


What does select top 1 do in sql?

544


Which data type is a composite type?

534