Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Example {
- // Common data types
- int exampleInt = 54;
- char exampleChar = 'A';
- String exampleString = "Hello, reddit!";
- boolean exampleBoolean = true;
- // More data types, not usually needed
- double exampleDouble = 223334.3274837;
- long exampleLong = 123456789L;
- short exampleShort = 30000;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement