Hi there. As I said, I'm a newbie to programming and writing code. I'm at home working on a lab project but keep getting a compilation error and I don't know how to fix it. Any help would be greatly appreciated. Here's my code:
public void add(int i)
newValue = accumulator;
accumulator = accumulator + i;
System.out.println(newValue " + " i " = " accumulator);
BlueJ highlights the System.out.println and displays, ')' expected error. Thank you!