Bryan Timmins

Ranch Hand
+ Follow
since Mar 26, 2001
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 Bryan Timmins

Very helpful. Thanks always.
19 years ago
the problem that I can't seem to solve at the moment is passing a variable to includes that are dynamically compiled at runtime.
the main file is index.jsp
the example include is 03.jsp (one in a series of about 50 includes, all identified by number and all having the same template as this one).
the problem I'm having is at lines 97-120 in index.jsp. I'm testing to see if there are any more rows in the iteration because the last row is formatted differently than all the rows preceding it. so I assign a variable to that condition and then, I hoped, it would get passed on to the include. that is, I assumed that the include was in the same scope as the variable since they are in the same section of the loop.


TIA, On behalf of a JSP newbie.
19 years ago
I forgot to mention your site in my original post.
I went through every page of this in the last week before the exam and you helped clear me up on bitwise shift operators, as well as some other topics. Good job!
19 years ago
31, having fun in the sun!
Bryan Timmins
19 years ago
I had no method-related questions. You need to know the constructors of the classes mentioned on the objectives inside and out and know the hierarchy of the package. I also had a lengthy question on RAF that tried to trip me up on read vs. read-only.
I used "The JPL, 3rd edition" by Gosling, et al for memorizing the IO constructors and hierarchy, but any book or web that is thorough will suffice. Write some simple programs using all of the classes mentioned in the objectives too...that helped me solidify the knowledge.
Best wishes!
19 years ago
I know it feels a little funny to score low on the exam but the point is really that you have the drive and have put in the effort to learn Java. Your "grade" will not impress coworkers and supervisors as much as raw determination and love of the language will, so don't sweat it. I passed with 71 today and am glad to see in black and white which areas I am weak in, for now I can hone those and expand on the objectives for the future.
19 years ago
Passed the SCJP2 today with 71% (42/59).
Here's my breakdown:
Declarations and Access: 62% (Hmm...)
Flow and Exceptions: 85% (Know your exceptions!)
Garbage: 100% (Understand eligibility)
Language Fundamentals: 66% (Hmm...)
Ops and assignments: 85% ( x++ vs. ++x !!)
O, O, RT, and OO: 57% (Lotsa code to work out)
Threads: 57% (Much longer, harder code than I expected)
AWT: 50% (Don't care much for GUI work; did not devote)
.lang: 50% (StringBuffer!!!)
.util: 100% (3 questions...theory...know it)
IO: 100% (Thank goodness I went overboard here...7 questions!)
I started studying Java in March, taking a 4-month course at a university, using several thick books, discussion boards like this one, and many web sites, especially Prior to March, I spent a year designing web sites with PHP, JavaScript, and SQL, so I do have some real-world coding experience.
My tools for the exam:
- JQ+ simulator (Some questions on Sun exam were almost identical!)
- Roberts, Heller, Ernst
- Velmurugan Periasamy's Notes
(Lost that URL)
- JavaRanch!!!
- JBuilder and Visual Age.

Go by the objectives and you'll do fine. Don't waste your time trying every mock exam you find (many of them are so vague and inaccurate). Get a core of study materials and go to town.
If you have any questions, feel free.
[This message has been edited by Bryan Timmins (edited August 21, 2001).]
19 years ago
I recall seeing a chart of scores posted by SCJP's which compared common mocks and the actual exam.
Do you know the link?
Way to go Joan! Do you have any advice for those of us testing soon?
19 years ago
Where in the notes is that printed? Maybe mine is outdated...
Look in the API for "ExceptionInInitializerError", which is suited towards dealing with exceptions in static initializers. Perhaps he is simply reminding that exceptions can be thrown in static initializers.
I am using JQ+ now and it seems to be more difficult than the actual exam (from what I have heard). It assigns "Very Easy" difficulty ratings to questions like this:

The answer is "a, c, b"
Am I the only one who thinks that having the sublist() method's behavior memorized is not "Very Easy"? Is this typical of JQ+?
JQ+ is an exam simulator
I am using it now and it seems to be more difficult than the actual exam (from what I have heard). It assigns "Very Easy" difficulty ratings to questions like this:

Am I the only one who thinks that knowing the sublist() method's behavior is not "Very Easy"? The answer is "a, c, b".
All 3 of those features can be found in the typical interface:

No, garbage collection is performed on objects. I think the JVM deals with primitives behind the scenes.