Example
public class
ClassA
{
public void
method ()
{
//method implementation...
return
;
}
}
Solution
Remove the return statement.
public class
ClassA
{
public void
method ()
{
//method implementation...
}
}