What will be the output of the following JavaScript code?
var f = new java.io.File(“/tmp/test”);
var out = new java.io.FileWriter(f);
out instanceof java.io.Reader
a) error
b) true
c) exception
d) false
Answer: d
Explanation: The output for the above code snippet is false as it is a writer and not a Reader.
Related Posts
The database environment has all of the following components except:
Related fields in a database are grouped to form a
A logical schema
The language used in application programs to request data from the DBMS is referred to as the
NULL is
In case of entity integrity, the primary key may be
In an E-R diagram attributes are represented by
Join The Discussion