Where is the problem of this code?
https://code.sololearn.com/cgtL2WkUKB3n/?ref=app I don't know where is the problem. That code is for the representation only
Extra brace at end in both classes.. getMail() type must be String but you added void.. getGenger() return type also need to be char but you wrote String..
Author ahTeck = new Author(...); System.out.println(ahtTeck); // typo in object name