Hu Peng

Greenhorn
+ Follow
since Oct 30, 2006
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 Hu Peng

Hello ~
----------------------------------------------------------------------------Code:
package test1;
public class Test1{
static int x=42;
}

package test2;
public class Test2 extends test1.Test1{
public static void main(String[] args){
System.out.println("X=n"+x);
}
}
Why it compilation fails?
Thanks