Dan Culache

Ranch Hand
+ Follow
since Jan 24, 2003
Merit badge: grant badges
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dan Culache

Thanks Alexander,

I have some experiance with RUP, worked with it on a couple of big projects. I also read through Kruchten's "The RUP, An Introduction" so it is not a new subject to me. I'm also trying to avoid the dry Rational documentation so thanks for your recommendation.

When did you take the RUP exam? Could you please give me an estimate of how long did it take for you to study?

Hi All,

Has anyone taken the IBM RUP certification test? That is IBM Test 639.
I'm interested in training resources, mock exams and any helpful information that might be available.

Life has an interesting way of giving us what we deserve and besides you know what they say "birds of a feather flock together".
19 years ago
Congratulations Ayan
Nice score. I'm planning to take the SCWCD and 2 weeks sounds almost too nice to be true. What's your background/previous experience?
19 years ago
Thanks everyone for the good posts.
And special thanks to Kathy and Bert for their great study guide.
Next stop SCWCD!
19 years ago
Yep, I can't deny I'm content. Now I have to be careful for a few days, till I forget some of it or I'll be bleeding Java if I hurt myself
19 years ago
Hi everyone,
I've just passed SCJP (59 out of 61) or 97% if they used a good "round" method.
Thanks you all for the interesting threads and valuable input. This is a great Forum!
For the people interested I've used
1. Kathy and Bert's study guide.
2. The Java Language Specifiation.
3. Dan Chisholm's mock exams
4. Marcus Green's mock exams (just the first one)
5. Last but not least Programmer Certification Study Forum at Javaranch.
I guess I could have scored above 90% two-three weeks ago but Dan's mock exams scared me (I could never score more than 75-80%). But that's not bad, keeps you on your toes. And maybe I wouldn't have used the Java Language Spec that much if it wasn't for Dan's exams.
Good luck to all the potential candidates. I guess I'll be around.
19 years ago
The piece of code is from the Java Language Specification and the explanation is there 8.8.7 Default Constructor
The constructor for Inner is protected. However, the constructor is protected relative to Inner, while Inner is protected relative to Outer. So, Inner is accessible in SonOfOuter, since it is a subclass of Outer. Inner's constructor is not accessible in SonOfOuter, because the class SonOfOuter is not a subclass of Inner! Hence, even though Inner is accessible, its default constructor is not.
Sorry, I didn't read carefully. I thought you were trying to use a native method defined in the StrictMath class. I'm not familiar with the Java linkage process but I'm sure this is what you need to do, specify a library. I believe your method "amethod" should be part of a library which was built using the Java Native Interface.
see Java Native Interface

An object although private can be updated having copy of its reference?

Once you have a reference to this object you want to update it right. In order to update it you must call or access its members. This is when the access modifiers come into play again since you won't be able to call or access members of that object that have restricted access (private, default and you are in another package, protected and you are in another package and not a subclass).
Is it a runtime error or a compile time error?
Does your code compile?
The first line needs a semicolon.
PS. What do you mean by "..give an example to run this code?"
I think D is not correct because a static inner class acts just like any other non-nested (or top-level) class except that its type and accesibility are defined by its enclosing class meaning it is accessible only if its enclosing class is. Besides that static nested classes are members of their enclosing class(or interface) and therefore they can access any members of the enclosing type (including private).
What I was trying to say is that declaring a nested class static doesn't make its members static so that you can access them using the class name like with the regular static variables or methods.
I believe that the correct answer is C. See 5.1.4 Widening Reference Conversions
where S is short for source (here SuperClass bar)and T is short for target (here SubClassA foo).
[ February 17, 2003: Message edited by: Dan Culache ]
Still true, false, null are not listed as keywords in the Java lang spec. Are they a valid answer or not?