Andrey Opanasets

Greenhorn
+ Follow
since Aug 14, 2001
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 Andrey Opanasets

On exam I have:

8-10 questions about I/O

1 GC

1 util (HashSet)

5-6 awt

7 Threads

And many questions about Language fundamentals, Operators and Assigments,...

I have prepared 1 month by www.jchq.net. I am from Belarus and it is difficult for me to buy any good books. There are some strange questions, for example:

What return type may be?

returnType aMethod(byte x, double y) {

return (short)x/y*2;

}

I never met them

But if you will take 1-2 hours every day to learn, you will pass.
17 years ago
Today I have passed SCJP2. But I have a small score 72, but I did it. ;-)
Thanks to all how help me for my preparation. Espacialy thanks to Markus Green and javaranch.com creators
[This message has been edited by Andrey Opanasets (edited November 16, 2001).]
17 years ago
I will have my exam on Fri. I am badly knowing io and awt. I am using www.jchq.net for my preparation. Can anybody give me some usfull link which cover this aspects? I have one day for learning more about io and awt. And Can anybody also give me links to good(like real exam) mock?
JUNILU

Java Bible says next:
protected void finalize() throws Throwable;
Why "public void finalize() throws Throwable;" is correct signature?
test from www.jtips.net Mock1
thanx

[This message has been edited by Andrey Opanasets (edited November 10, 2001).]
Which of the following are true ? Select six answers?

1. The signature of finalize() method is, protected void finalize() throws Throwable{}

2. The signature of finalize() method is, public void finalize() throws Throwable {}

3.The signature of finalize() method is, void finalize() throws Throwable {}

4.The signature of finalize() method is, private void finalize() throws Throwable {}

5.The finalize() method can be Overloaded.

6.The throws clause of the finalize() method can be defined with any exception.

7.The finalize() method is guaranteed to be called on any object to be GC'ed.

8.The finalize() method is called only once on any object to be GC'ed.

9.There is no restriction on the number of times the finalize() method is called on an object to be GC'ed.
test says that 1,2,5,6,7,8 is correct answers. Why 2 is correct?
thanx to all.
Which of the following are true ? Select six answers?

1. The signature of finalize() method is, protected void finalize() throws Throwable{}

2. The signature of finalize() method is, public void finalize() throws Throwable {}

3.The signature of finalize() method is, void finalize() throws Throwable {}

4.The signature of finalize() method is, private void finalize() throws Throwable {}

5.The finalize() method can be Overloaded.

6.The throws clause of the finalize() method can be defined with any exception.

7.The finalize() method is guaranteed to be called on any object to be GC'ed.

8.The finalize() method is called only once on any object to be GC'ed.

9.There is no restriction on the number of times the finalize() method is called on an object to be GC'ed.
test says that 1,2,5,6,7,8 is correct answers. Why 2 is coorect?
I am sorry. Test say 3 and 4.
Can you lock this topic.
| we may used as a logical operator. It confused me.
thanx to all.
Which of these statements are true. Select all correct answers.

1. For each try block there must be at least one catch block defined.

2. A try block may be followed by any number of finally blocks.

3. A try block must be followed by at least one finally or catch block.

4. If both catch and finally blocks are defined, catch block must precede the finally block

My answer id 4. But test says that the answer 2 is also correct. Why? This code is not compliled:

try{

int i=0;

int j=1/i;

} catch(Exception e) {

} finally {

System.out.println(1);

} finally {

System.out.println(2);

}

How can I defined two or more finally blocks?
Thanx to all.
Which of the following are true. Select all correct answers.

1. && operator is used for short-circuited logical AND.

2. ~ operator is the bit-wise XOR operator.

3. | operator is used to perform bitwise OR and also short-circuited logical OR.

4. The unsigned right shift operator in Java is >>.

My answer is 1 and 3. But tests answer is 1. Can anybody explain why 3 is not correct?
I found a stange mock exam. I want to hear your opinion.
http://www.ii.uib.no/~khalid/pgjc/jcbook/engine.html
I begin preparation for passing an exem SCJP. Can anybody give me full information about what themes include in this exem? On what it is necessary to pay the special attention?
I ask a pardon for my laziness.
I need a vCard parser. Can anybody help me?
17 years ago
I need a vCard parser. Can anybody help me?
17 years ago