Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 1st, 2012  |  syntax: None  |  size: 0.24 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. On converting a Short to a Byte what goes on?
  2. Byte bb = new Byte("127");
  3.         System.out.println(bb.byteValue());
  4.  
  5.     Short ss = new Short("32727");
  6.         System.out.println(ss.shortValue());
  7.         System.out.println(ss.byteValue());