Hi. You are getting errors because you have a return statement in the constructor.
If you remove the return it should be ok.
PS: In future, add a private identifier to your instance variables.
Type: Posts; User: danieland
Hi. You are getting errors because you have a return statement in the constructor.
If you remove the return it should be ok.
PS: In future, add a private identifier to your instance variables.