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
- 68 - 14. }
15. return j + x;
16. }
17. }
What is the output from line 3?
A. Value = 3 B. Value = 4 C. Value = 5 D. Value = 6 E. Value = 7 F. Value = 8

Answer: F



QUESTION NO 132
Which four types of objects can be thrown using the throw statement? (Choose Four)

A. Error B. Event
C. Object
D. Exception
E. Throwable
F. RuntimeException


Answer: A, D, E, F



QUESTION NO 133
Given:
1. public class ForBar { 2. public static void main(String []args) { 3. int i = 0, j = 5; 4. tp: for (;;) { 5. i ++; 6. for(;;)
7.
if(i > --j) break tp; 8. }
9.
system.out.printIn("i = " + i + ", j = "+ j);
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