java – invalid method declaration; return type required [duplicate]
On a Java OOP project I got three errors on my constructor: .\Voter.java:14: error: invalid method declaration; return type required .\Candidates.java:7: error: invalid method declaration; return type required .\Candidates.java:14: error: invalid method declaration; return type required codes for constructor: i declared my constructors like this: Anything I missed?