Opératuers de décalage(<<): se déplacer à trois à gauche

Author:


{filelink=4597}


public class Main {
  public static void main(String[] argv) throws Exception {
    byte c = - 10;
    System.out.println(c << 3); // Affiche -80

  }
}

A Voir sur le même Sujet:

  • tableau décalage

Leave a Reply

Your email address will not be published. Required fields are marked *