File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes HI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "HI" Watch "HI" New topic


viswanath balam

Joined: Jun 25, 2007
Posts: 15
Hi Everybody
Can anybody has Enthuware free mock exams, or efficient mock exams. Bcz im trying to write scjp 1.5 next week. Im able to write some mock exams available on internet but not able to findout at what %xx im standing. What can i do pls help me in this and provide more mock exam links. Pls its very urgent for me.

Chinni Bujji
Ranch Hand

Joined: Jan 31, 2007
Posts: 60
class Comp2
public static void main(String[] args)
float f 1 = 2.3 f;
float [] [] f2 = {{42.0f} , {1.7f,2.3 f},{2.6f,2.7f}};
float [] f3 ={2.7 f};
Long x = 42 L;

// insert code here
if(f1==f2) //Error because you are comparing an array to an element
if(f1==f2[2][1])//compiles and no output becoz f2[2][1] value is 2.7f
if(x==f2[0][0])//compiles and gives the output true
if(f1==f2[1,1])//syntax error because it should be f2[1][1] not f2[1,1]
if(f3==f2[2])//compiles but no output becuase you are comparing address with value

so three statements compile and one statement gives the "true" result
anita dhar
Ranch Hand

Joined: Jul 14, 2007
Posts: 69
hello ,
this is a good mock test according to topic wise , you can find it
I agree. Here's the link:
subject: HI
It's not a secret anymore!