Sandeep Potnis

Ranch Hand
+ Follow
since Aug 18, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sandeep Potnis

Hi Rahul,
According to the Overviewthe pass % for Part I is 68%.
Sandeep
Angela & Ajith,
Excellent job with the FAQ. Thanks for thinking this through & implementing it.
This is going to be the single most important source to start preparing for SCJP.
My 2 cents: I think we should put the following questions on the top -
What are the SCJP objectives?
What is the best way to prepare for SCJP?
What books should I refer to when studying for SCJP?
Has the SJCP-2 syllabus changed? If so, what is the new syllabus?

Regards
Sandeep

Thanks to everyone.
Jane, Thanks a lot for the shift operators study notes.
Debanjana,
I used the certification book by RHE, Exam cram, Just Java & of course JLS for my preparation. I also used tutorials by Marcus Green, Jyothi krishnan & Richard Baldwin.
One tip: Use the search facility of this forum extensively. Don't miss any posts/replies by Jim Yingst in the search results.
hth
rgds
Sandeep
Hello Javaranch,
I took my SCJP exam today and passed with 97%. I am absolutely delighted with the results and want to thank everyone around here (even cows in the rules round-up game helped me).
Special thanks to Paul Wheaton, Jim Yingst, Mahaanna & Ajith.
I also gained a lot of knowledge & confidence from evergreen Marcus' tutorial, exams & appropriately placed links.
Thanks again.

Sandeep

[This message has been edited by Sandeep Potnis (edited September 20, 2000).]
Hi Guys,
I'm absolutely new to XML so please expect a silly question.
Using XML to translate data between databases/data formats sounds similar to using EDI. How is XML different from EDI ?
rgds
Sandeep
Congratulations Srikrish !!
That's a great score.
Sandeep
Whoa !! That's a good one.
I'm loving every ride in this Java Rodeo.
Ride on.
Sandeep
Hi Marcus,

I think your notes and questions cover the File class adequately.
I also think that a mention listFiles() & listRoots() methods would be helpful?
Although I've not faced the actual exam yet, I've come across a question about listRoots() in a mock exam.
Thanks

Sandeep
21 years ago
Han,
The action starts at new Extension()

  • The Constructor Extension()implicitly calls super() i.e Base()
  • Here's the tricky one - add(1) in Extension is called (Since object type is Extension). i=2
  • The construtor Extension then calls add(2) i=6
  • When bogo is called with the new object reference, the add(8) of the object type (Extension) is called. i=6+8*2=22

  • Hope that helps. I've changed your code a bit. Do try and run this.


    rgds
    Sandeep
Hi Deepak,
Congratulations and wish you the best for XML et al.
Can you please send me your notes.
Thanks,
Sandeep
Potnis@yahoo.com
Can anyone please explain why option 1 is the right answer here.



1.The code will fail to compile. The class com.abhilash.abhilash can never be imported.
2.The code will compile. Runtime error occurs if one of the class in the import does not exist and is referenced.
3.The code will compile and run with out any problem.



Thanks
Sandeep
srikrish,
Whenever a String is created with the new keyword, a new String object is created at a new memory location. So c==a would be false.
Please correct me if I'm wrong
Thanks
Sandeep
I'm sorry Geeta. I mistook that for FileInputStream.
Sandeep
21 years ago
Thanks Rahul.
I've already used this one in the Programming Certification forum.
Keep them coming.
Thanks
Sandeep
21 years ago
Geetha,
A is correct. FileInputStream has a constructor which take a File object as a parameter.
The other two constructors take a FileDescriptor object and a String object respectively.
Refer to the API for more details.
hth
Sandeep
21 years ago