Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 3rd, 2013  |  syntax: None  |  size: 0.31 KB  |  views: 66  |  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. public class Example {
  2.  
  3. // Common data types
  4. int exampleInt = 54;
  5. char exampleChar = 'A';
  6. String exampleString = "Hello, reddit!";
  7. boolean exampleBoolean = true;
  8.  
  9. // More data types, not usually needed
  10. double exampleDouble = 223334.3274837;
  11. long exampleLong = 123456789L;
  12. short exampleShort = 30000;
  13. }
clone this paste RAW Paste Data