Nils Widmer

Greenhorn
+ Follow
since Aug 17, 2001
Merit badge: grant badges
For More
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 Nils Widmer

Hey Dave,
and what was your final score on the real test if allowed to ask?
I dont want 90%, I just want pass exam to move on.
Nils
Thanks Jim,
well I took another Test, here: http://www.go4java.20m.com/mock1.htm
I scored 50% on it, what I want to know is how does it compare to the real thing?
cheers
Nils
Is there another website with interactive test questions?
I just played the roundup game and got 86%, can I take the real test now?
With 86% at roundup game, am I ready to take the SCJP2 ??
------------------
nope, its D)
22 years ago
hmm, I think
i=++i;
is the same as written:
++i;
right??
If I have a GridLayout, is it possible to add an Image to it so it would size it correctly when resize occurs etc?
------------------
22 years ago
http://www.javacaps.com/scjp_mockexams1.html

31. The statement X %= 5, can best described as?
A) A equals a divided by 5;
B) A equals A in 5 digit percentage form
C) A equals A modulus 5.
D) None of the above

well spelling errors, and that is not the only one...

------------------
22 years ago
Hey Guys, it would be nice having option to get email notofication when I reply to a Thread in Forum.
Also nice would be to see Online/Offline status of people who show their ICQ number.
------------------
22 years ago
yups, thanks Ashok, that is clear now
Given Following Code, why is it not allowed for MyMethod() to declare IOException in MyExp2 class( question 9 from http://www.javacaps.com/scjp_mockexams1.html )???
Overriding a method that doesnt throw Exception wont have overriden method which does throw Exception?
Do Overriden methods have some scope rule for throwing exceptions as in they can only throw exceptions that are already thrown in the overridden method of subclass??


<CODE>
import java.io.*;
class MyExp {
void MyMethod() throws IOException, EOFException {
//............//
}
}
class MyExp1 extends MyExp {
void MyMethod() {
//..........//
}
}
public class MyExp2 extends MyExp1 {
void MyMethod() throws IOException {
//.........//
}
}
</CODE>

Can an overloaded method throw an exception?
like:
<CODE>
class Shit
{
protected void m_DoShit()
{}
protected void m_DoShit(int i)
throws MyException
{}/*assume MyException is derived from IOException*/
}
class BullShit extends Shit
{
public void m_DoShit(int i)
throws IOException
{}
}
</CODE>

------------------
Haidihooo
------------------
22 years ago