why is it that this is wrong? i input the heightL as 2 the output must be 4 but there is something wrong
class He{ public static void main(String[] args) { int heightL=2; int a = 9; System.out.println(Math.abs(a)); System.out.println(2^(heightL)); } } why is it that the output in the second part is 0?
1L << xfor a long orMath.scaleb(1, x)for a double.