Lukasz Szwed

+ Follow
since Oct 11, 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 Lukasz Szwed

I have one SCWCD voucher for sale. The voucher is valid in Poland until 30-04-2009.

If you fail to pass the exam first time, you can use it to purchase second attempt.

For more information, please contact me via email k4sbasia(at)gmail(dot)com

12 years ago

I've just passed the SCJA exam. I got 82%. I had only a few days to prepare for it. During my preparation I used SCJA Certification guide written by Cameron. I've done a couple of mocks from Cameron Mock Exam Questions book.

All I wanted to say is many thanks for your books, and wish you all the best and hope you will keep going up.

For people who are interested in SCJA I strongly recommended reading Cameron's books
13 years ago
Thank you...

That's clear enough.

I did look into documentation before I posted here.

But I don't understand why if I pass 0l (0 long) paramenter, the date is set as a Thu Jan 01 01:00:00 GMT 1970 shouldn't be set as a 00:00:00 ?

As you mentioned, the parameter means: Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.

So I'm still confiused, If I pass 0 milliseconds (and from January 1, 1970 00:00:00 GMT past 0 miliseconds) the time should be the same, so why it is 1 hour later?

Please tell me where I am wrong?

I'm brand new in Javarunch.
I've just started to learn for SCJP. I've already found answers for most of my questions here.

Can someone explain me why this code below produce the:
Thu Jan 01 01:00:00 GMT 1970
I thought that the result will be:
Thu Jan 01 00:00:00 GMT 1970
Hi Rex,
First a Static block is executed, then static variable is setup and then static method is executed