Question
Which of the following will compile without error?


1) File f = new File("/","autoexec.bat");

2) DataInputStream d = new DataInputStream(System.in);

3) OutputStreamWriter o = new OutputStreamWriter(System.out);

4) RandomAccessFile r = new RandomAccessFile("OutFile");

Answers



More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q The gerbil is native to which two continents?
  • Q What Is a Recycle Bin?
  • Q Length of Indus in India is
  • Q What is the use of SAP Material Management module?
  • Q What type of organism makes up the oldest known fossil?
  • Q What is SAP Market place
  • Q How many Members can be elected for Lok Sabha and Rajya Sabha?
  • Q 5-3-3-8†what do the numbers in quotes signify?
  • Q Where do you see yourself five years froin now?
  • Q Where is the headquarters of the Prathyaksha Raksha Daiva Sabha?
  • Q Litigation : engaging in a law suit