Josh Gates Josh Gates - 1 year ago 95
Java Question

I keep receiving the error in eclipse

I keep receiving the error in eclipse : Syntax error, insert "... VariableDeclaratorId" to complete FormalParameterList on line 1 at (registered), might be an easy answer here but I am failing to see it. Thanks in advance.

public static void setRegistered(registered) {
Character.registered = registered;

Answer Source

You will need to change

public static void setRegistered(registered) {


public static void setRegistered(boolean registered) {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download