{{theTime}}

Search This Blog

Total Pageviews

What is the output of the following code in Java?

System.
out.println((String)null) ;
 
Answers:
a) NullPointerException
b) null
c) RuntimeException
d) NULL

No comments:

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...