You have two main methods, then your class identifier, that's why your error is being thrown.



public class Random {

public static void main(String[] args) {
//Here's out string...