HELP: Java Project Language Families - override method

I am trying to debug my code but I keep getting errors related to this section, specifically the overriding method. Any suggestions?

class Mayan extends Language {

  Mayan(String languageName, int speakers) {
    super(languageName, speakers, "Central America", "verb-object-subject");


  @Override
  public void getInfo() {

        System.out.println(this.name + " is spoken by " + this.numSpeakers + " people mainly in " + this.regionsSpoken + ".");
        System.out.println("The language follows the word order: " + this.wordOrder + ".");
        System.println("Fun fact: " + this.name + " is an ergative language.");
        
      }

looks to me like you forgot to close your constructor (missing })

This is just repeating what I already said?

You’re missing out on this line.


In case you’re interested in a breakdown of System.out.println():

1 Like