zhu weitao

Greenhorn
+ Follow
since Sep 02, 2008
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 zhu weitao

Can the children of BranchGroup be changed after the BranchGroup is added to a SimpleUniverse , or I must create another BranchGroup in order to change his children ?
13 years ago
Can the children of BranchGroup be changed after the BranchGroup is added to a SimpleUniverse , or I must create another BranchGroup in order to change his children ?
13 years ago
I took the exam SCJP yesterday , and I passed it

Then what should I do next , just wait for the certificate's coming?

Thanks


can't the var "x" in class Test2 be seen ?

why is here no errors ?
13 years ago
I know method1() is not inherited to Child class , but the class Child has the method1() method itself , why doesn't it invoke it's method1() method
13 years ago


The result is

Parent's method2
Parent's method1

but if change the method method1 in class Parent to default protected or public ,the result is

Parent's method2
Child's method1

why???
13 years ago
code about:


the var "maxElements" in class "Use" is declared "static",
but here ,it's used in this method "this.maxElements",
does it belong to a class not a object?

I tried it,and it did compile and run correctly

why???


What't the differences between "Integer a = 1;" and "Integer c = new Integer(1);"?

And,why the result of "System.out.println(c==d);" is "false"
give:



I know the answer is:0
but I wana know why?

thanks!

[edit]Add code tags. CR[/edit]
[ September 02, 2008: Message edited by: Campbell Ritchie ]
13 years ago