Pessoal,
O que eh bit shift em um simulado vi essa pergunta
Eu fui testar com esse codigoWhat happens when you bit shift by a number greater than or equal to the number of bits in the result?
(e.g. int c = 270; c >> 33)
public class Teste {
public static void main(String args[]){
int c = 270; c >> 33;
System.out.println(c);
}
}
e o compilador diz que c >> 33 nao eh um statement....alguem poderia me explicar...??
Obrigado