This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!

Per Radfe

+ Follow
since Jul 05, 2007
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 Per Radfe

Originally posted by Praveen Seluka:

Can you tell how much you scored in KB's master exam.I wrote today and I managed to score 70% on master exam.I am not feeling that confident now.How much will I be able to make.Please help.

Praveen SP

You can read it all here:

Hope it helps!
14 years ago
Did the exam today and passed with 75%.

Thank you for support!
14 years ago
I did the exam today and passed with 75%

Thanks for feedback!
The split-method probably don�t find any tokens because you use wrong delimiter.

Shouldn�t you write "\s" instead of "/s" ? I would try "\\s". I think there will be a compile error without two \\.


Originally posted by Jesper Young:
Anything that extends Throwable (exceptions, errors etc.) can be thrown by your own application with the "throws" keyword. There isn't a special set of exceptions that is thrown only by the JVM or only by the application.

In the Master Exam that comes with K&B, there is a question that says: "Which are most commonly thrown by an application or API developer, as opposed to being thrown by the JVM?"

I�m looking for some kind of rule to determine which exception that is most likely to be thrown by JVM or by application developer (programmatically...)?
Thanks Subodh,

I will keep your advices in mind! I think point number 4 is probably what I need to do the most.

Anyone passed the test when scoring around 60% in mocks?

How do you know whether an exception is thrown by the application (programmatically?) or thrown by the JVM?

For example IllegalStateException is thrown programmatically. Why?

I need some rule to hook things up to.
The #-sign isn�t allowed. You can use _ $ and letters. Number is only ok if they don�t come first.

This is a little story about my SCJP-journey.

I got 45% at the first diagnostics test in Wizlab. Got about 65% in the Wizlab exam 2. I was thrilled and thought this would be a walk in the park. Then I got 50% in the third exam. 53% in the fourth and 57% in the final exam. Did the master exam from K&B and got 60%, did the bonus and got only 50%.

I have read K&B and answered the questions. When I read each chapter and did the questions I got between 40-70%. Often around 50-60%. I have re-read the two-minute drill afterwards. I have written about 200 own questions on what I have done wrong on my mock-exams but when I take a new mock, nearly nothing of the new things I have learned earlier are repeating. Especially for things like IO, Date & Locale-question, regex etc. I have coded about 50 small program to practice some.

I have studied this above mentioned for about 12 weeks, maybe 20h per week.
The things I fail on in the mocks are often the tricky questions that almost fool you to look at one thing and then the code doesn�t compile for some silly reason. I also tend to fail API-questions. I feel that I know the basics pretty good but fail on pity things.

My experience of Java before attempting to go for SCJP are 2 courses at the university. Not much coding, just the basics. The last one was about design patterns so no focus on the language. I feel that my coding experience is probably what I�m lacking.

I need some help to get on. I would like to take the test in one or two weeks time and need some help to score 5-10% better at the mock-tests.

What can I do to strengthen my knowledge? Why doesn�t I perform better at the mocks when I feel that my knowledge is far greater than it was when I started to study?

Someone that maybe have been in a situation similar to this one? What are the chances to pass if you score about 60% in mocks?

Wrappers are imutable, just like strings. So, they got a pool so they can be reused to save memory. (Correct me if i�m wrong :roll: )
Thanks Reeta Champs!

I looked in the Thread class but couldn�t find the run method and thought that it didn�t implement it.
import java.util.ArrayList;
import java.util.Vector;
class Main extends Thread{
public static void main(String[] args) {

Vector<Integer> x = new Vector<Integer>();
ArrayList<Double> y = new ArrayList<Double>();

if ( x == y){

This code dose�nt compile. I thought that you could compare any reference variable but obviously not? Is the == operator working like instanceof wich only can compare instances of the same class hierarchy?
class Main extends Thread{
public static void main(String[] args) {
Main m = new Main();

I think this should not compile, but it does in NetBeans 6. Main extends thread wich extends Runnable wich has the "public abstract void run()"-method.

Main doesn�t implement all abstract method, but still, it compiles. Why?