SyntaxFix
Write A Post
Hire A Developer
Questions
The default constructor has no arguments. You need to specify a constructor:
public Friends( String firstName, String age) { ... }