SCJP Questions And Answers

Home| Forums | Join Google Group | Join Yahoo Group | Jobs
Get custom programming done at GetAFreelancer.com!
Earn Money
  Trading Forex Online
  Paramount Airways
  Free Data Recovery
 Cargo
 Job Portal
  HSBC Investment
 Management
 Cheap Web Hosting
  Make Trip
  Cheap Air Travel
 Leisure Hotel
  Free Air Travel
  Mutual Fund Informations
   Cheapest Cellular Plan
 Free Sexy Indians
  Call Center Software
  Hot Indian
Programming Help | Homework Help | Counseling
Astrology Advice | Tarot Advice | Parenting
Dating Advice | Love Advice | Divorce Advice
Legal Advice | Debt Advice | Career Advice
- 70 - C. An error at line 1 causes compilation to fail. D. An error at line 6 causes the compilation to fail. E. "Running" is printed and the program exits.

Answer: C



QUESTION NO 136
Which constructs a DataOutputStream?
A. New dataInputStream("in.txt"); B. New dataInputStream(new file("in.txt")); C. New dataInputStream(new writer("in.txt")); D. New dataInputStream(new FileWriter("in.txt")); E. New dataInputStream(new InputStream("in.txt")); F. New dataInputStream(new FileInputStream("in.txt"));

Answer: F



QUESTION NO 137
Which can be used to decode charS for output?

A. Java.io.InputStream.
B. Java.io.EncodedReader.
C. Java.io.InputStreamReader.
D. Java.io.InputStreamWriter.
E. Java.io.BufferedInputStream.


Answer: C



QUESTION NO 138
Given:
1. public class Test {
2. public static void main (String [] args) {
3. string foo = "blue";
4. string bar = foo;
5. foo = "green";
6. System.out.printIn(bar);
Earn Money
  Trading Forex Online
  Paramount Airways
  Free Data Recovery
 Cargo
 Job Portal
  HSBC Investment
 Management
 Cheap Web Hosting
  Make Trip
  Cheap Air Travel
 Leisure Hotel
  Free Air Travel
  Mutual Fund Informations
   Cheapest Cellular Plan
 Free Sexy Indians
  Call Center Software
  Hot Indian