001package algs12;
002
003import stdlib.*;
004
005public class XFields {
006        public static int classVariable = 42;
007
008        public int objectVariable = classVariable++;
009
010        public void f(int localVariable1) {
011                int localVariable2 = StdRandom.uniform (100);
012                if (localVariable1 > 0)
013                        f (localVariable1 - 1);
014        }
015
016        public static void main (String[] args) {
017                Trace.drawSteps ();
018                Trace.run ();
019
020                XFields a = new XFields ();
021                XFields b = new XFields ();
022
023                a.f(1);
024                b.f(1);
025        }
026
027}