Advertisement
Javi

JAVA Puzzle: bits and bytes

Sep 13th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package com.javiermoreno.dominajava.puzzlers;
  7.  
  8. /**
  9.  *
  10.  * @author ciberado
  11.  */
  12. public class BitsAndBytes {
  13.  
  14.     public static void main(String[] args) {
  15.         byte a = 10;
  16.         byte b = 20;
  17.         byte c = 200;
  18.         byte d = a + b;
  19.     }
  20.    
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement