Help coderanch get a
new server
by contributing to the fundraiser

Honggui Li

Greenhorn
+ Follow
since Aug 10, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Honggui Li

Hi, there :
Thanks . I will try to contact with them. Hope i can receive their message soon.
Have a nice weekend.

Honggui
22 years ago
Hello, friends :
I sent the contract agreement for getting a logo from Sun for almost 3 months ago, and i haven't gotten any information from Sun. I am one hundred percent sure that they received my mail, 'cause i tracked the status of my mail just after i sent my signed agreement. I think, at least, they should send me a email and tell me my requirement is on the processing or something else. But, NOTHING !
I really need the logo to be shown on my resume now. However, i just can't do it.
Probably, those people are still on their vacation, i just hope they can go back to work as soon as possible.
Any suggestion ? I guess i still have to wait.
Thanks.

Honggui Li
22 years ago
Hello,there :
Thanks ! you guys. I will wait for another several days, i think that is the only thing i can do now.
Thanks to you all !
Honggui
22 years ago
Hi, there:
I sent the contract agreement to Sun for about two or three weeks, but i still haven't gotten any response yet. I don't know what's going on? What should I do? Who should i contact with?
If you guys know that, please give me a hint.
Thanks in advance.
Honggui
22 years ago
Hi, Farooq :
Never doubt you can pass it !
A late congratulations. More than a month ago, i passed the exam, and i received your wishes. Also, i saw your name appeared so many times when people cleared their test. Now, it is time to ...........
From my experience(since i am a SCJP for months), just because i got a certification, doesn't necessary mean i am a "real" programmer. I still met a lot of problems when i was coding. There is a long way to go. We have to keep going.
Anyway, Farooq, you are a nice guy, you will have a bright future.
best wishes
honggui
22 years ago
Hello: my friendly friends:
Thanks for your greetings. I always feel Javaranch like a big warm family. In this family, we help with each other, we encourage with each other. I think, i study hard in java because i know you guys are there, you guys are always behind me and support me. Thanks a lot.
Right now, i am studying in Java RMI because i have a course called Client/Server, I will study harder. We will keep in touch in my future studying in Java RMI.
Have a nice day!
Honggui Li
SCJP2,
22 years ago
Hello, my friends :
I studied for almost five months. Hard work paid off. I just passed the test with 88%, not too bad.
The test is not as tough as i thought. but you guys have to understand those fundamental knowledge. I got 0% in my garbage collection section. That doesn't matter. You can't get 100% in every part of the objective. If you get 70% - 80% of the objective, you can pass it.
My experience : Read book, Do mock exam, Visit javaranch, Concentrate on java.
As Sun guoqiao said, no pain, no gain. Study java in every single day, then you can pass it, it is not so difficult.
Hello :
I took the certification test today. I passed with score of 88%, not too bad, not too good. I had thought i would feel exciting , but i just feel tired now.
Anyway, i just tell myself i really can do something. I can't believe i am a programmer now. Amazing.
Thanks javaranch. Many friends in this web helped me. I really appreciate it. I will recommend this website to all of my friend who wants to study in java.
Have a wonderful day, you guys.

Honggui
22 years ago
Hello:Mr. Hobson:
Thank you for your help. I appreciate it.
Have a nice day.
Honggui
22 years ago
Hello, everyone:
I got this question from my instructor,and i can't find the answer from the sun website. Please help me as soon as you can.
What is Strong Law of Demeter ? In each implementation of methods getArea() and calculateColor(),which form of Law of Demeter is broken?
class R
{
protected int width;
protected int height;
}
class FR extends Rectangle
{
private int color;
public int getArea()
{
return width * height;
}
public int calculateColor(float f)
{
return color * f;
}
}
I am looking forward to hearing from you.
Thanks in advance.
Honggui
22 years ago
Hello, there:
Thanks you guys! I appreciate it.
By the way, please tell me how to access to the Janes notes. I heard people talk it a lot, I never get chance to see it. I think i shouldn't miss it.
Thanks again.
Have a nice day.
Honggui
Hello, there:
I appreciate that so many friends helped me. Thanks you guys.
I think i should have no problem with awt staff, but i got this tricky question that i don't know what's going on there.
Say :
import java.awt.*;
public class Q188 extends Frame
{
Button bnorth = new Button("North");
Button bsouth = new Button("South");
Button beast = new Button("East");
Button bwest = new Button("West");
Button bcenter = new Button("Center");
public Q188( )
{
setLayout(new FlowLayout( )); // Line F
add(bnorth);
add(bsouth);
add(bwest);
add(beast);
add(bcenter);
setLayout(new BorderLayout( )); // Line B
validate( );
setSize(200,200);
setVisible(true);
}
public static void main(String a[ ])
{
Q188 q = new Q188( );
}
}
As far as i know, this should come out only one button with label "Center" and occupies the whole frame.
However, it is not. The result is : no component is visible, it is empty ! I don't know why ?
I try to comment the Line F and Line B, it comes out what i expect, one button labeled "Center".
I comment Line B, of course, five buttons appear.
I comment Line F, it is empty, no button is visible.
It seems that there is a difference between the default BorderLayout and explicit setLayout with BorderLayout.
I am confused with this part. Can someone explain that ?

Thanks in advance. I will keep thinking.
Honggui

Hi, dear:
I like this round up game a lot. I always play the game first, and then visit this discussion group.
I just want to know how many questions in this game? Most of the time i got the same questions again and again, and I HAVE TO get 100% right. I want to play with different questions when i start a new game. Can someone give me some hints? How to play with different questions in this wonderful game?
Thanks in advance.
Honggui
Hello, guys:
I got this question and i can't figure it out. Need help.

Which of these statements are true.
a. For each try block there must be at least one catch block defined.
b. A try block may be followed by any number of finally blocks.
c. A try block must be followed by at least one finally or catch block.
d. If both catch and finally blocks are defined, catch block must precede the finally block.
The answer is c and d.
I disagree. In my opinion, a and d is correct. Each try block can have any number of catch block but at least one catch block must be defined, am i right ?
A try block don't need to be followed by at least one finally block, i think so.
Can someone explain the question if the answer is correct ?
Thanks a lot.
Honggui

Hi,everyone:
Thanks very much. I think Farooq is right. If i change my code a little bit, all those will compile correctly. I changed catch statement. Then everything is fine.
Sometimes we don't pay attention to this little difference.
I learn a lot from this question. I hope you guys have the same feeling.
Thanks again.
Honggui
public class A
{
public static void main(String a[ ])
{
System.out.println("a");
try
// { }
// { return; }
// { ; }
//catch (java.io.IOException e)
catch (Exception e)
{ Sytem.out.println("e"); }
}
}