Good Day!
How to tackle 'int can't be dereference'?. What does it mean?
Please give me some pointer....than ks guys
How to tackle 'int can't be dereference'?. What does it mean?
Please give me some pointer....than ks guys
Code:
public static void main(String[] args) { int opcode = GCD; String out=""; int b2 = 300; int b1 = 700; switch (opcode) { case GCD: out = b1.gcd(b2).toString(); // THE ERROR COMES FROM HERE.... break; default: throw new BigAlException("invalid operation"); } System.out.println(out);
Comment