James Sinarit

Greenhorn
+ Follow
since Mar 13, 2005
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 James Sinarit

I need help:
here is the code:

public class Integer {

public int i = 1;

public static void main(String args[]) {

}
}

class other {
public static void main(String args[]) {
System.out.println( i );
}
}

How can I make it display the variable i in the other class?
19 years ago