I'm trying to call a boolean method in another class and Eclipse is reporting the above error on the second line in the following code:
CCR ccrFlags = new CCR();
if (ccrFlags.cBit() = set)
The method being called from the class called "CCR" is:
public boolean cBit() {
boolean set = false;
return set;
}
I imagine I'm probably going about this in an idiotic way and would be grateful for any advice. Thanks, Robert.