+ 2

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

8th Mar 2022, 1:19 PM
Easy Carry
3 Answers
+ 3
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..
8th Mar 2022, 1:30 PM
Jayakrishna 🇼🇳
+ 2
Author ahTeck = new Author(...); System.out.println(ahtTeck); // typo in object name
8th Mar 2022, 10:04 PM
zemiak