I am new in java please help when i run my code it shows an error like. : public class PhraseOMatic {
    public void main (String[] args) {
        String [] wordListOne = {"24/7","multitier","Akshay","Aalok","teslaBoys","Team"};
        
        String[] wordListTwo = {"empowered","positivity","money","foucused","welth","strenth"};
        
        String[] wordListThree = {"ok","dear","priorityies","love","Dreams","sapne"};
        
        int oneLength = wordListOne.length;
        int twoLength = wordListTwo.length;
        int threeLength = wordListThree.length;
        
        int rand1 = (int) (Math.random() * oneLength);
        int rand2 = (int) (Math.random() * twoLength);
        int rand3 = (int) (Math.random() * threeLength);
        
        String phrase = wordListOne[rand1] + " " + wordListTwo[rand2] + " " + wordListThree[rand3];
        
        System.out.println("What we need is a " + phrase);
        }
}


// error

Main.java:1: error: class PhraseOMatic is public, should be declared in a file named PhraseOMatic.java public class PhraseOMatic {        ^ 1 error