COMP 520 3(a) Reproduce

Run Settings
LanguageJava
Language Version
Run Command
public class Beta { public Beta b; interface I1 {double x = Math.random();} class T1 implements I1 {double x = Math.random();} class T3 extends T1 { double x = Math.random(); void show() { System.out.println(((I1) this).x); System.out.println((new I1() {}).x); System.out.println(Math.random()); } } void fun() { new T3().show(); } public static void main(String[] args) { new Beta().fun(); } }
Editor Settings
Theme
Key bindings
Full width
Lines