@@ -0,0 +1,230 @@
+import java.io.*;%0A%0Apublic class RandomNumbers_0or1%7B%0A    public static void main(String args%5B%5D)%7B%0A        //result either 0 or 1%0A        int r = (int)(Math.random()*2);%0A        System.out.println(%22Result either 0 or 1: %22+r);%0A    %7D%0A%7D

random integer either 0 or 1