ControlC
· Pastebin
Login
Register
ControlC
/
Create paste
Paste content
Up to 100 KB of text. BBCode formatting is supported.
Title
- optional
Content
B
I
U
S
</>
Colors ↓
Sizes ↓
Size 1
Size 2
Size 3
Size 4
Size 5
Size 6
Size 7
public class Beginner\r\n{\r\n boolean booleanVar = true;\r\n byte byteVar = 0b10101;\r\n short shortVar = 035;\r\n int intVar = 0xFFA3;\r\n long longVar = 1000;\r\n double doubleVar = 0.5d;\r\n float floatVar = 3.5f;\r\n char charVar = '\u0090';\r\n String strVar;\r\n \r\n\r\n public static void main(String[] args)\r\n {\r\n Beginner beginner;\r\n beginner = new Beginner();\r\n\r\n System.out.print(\"boolean: \");\r\n System.out.println(beginner.booleanVar);\r\n System.out.print(\"byte: \");\r\n System.out.println(beginner.byteVar);\r\n System.out.print(\"short: \");\r\n System.out.println(beginner.shortVar);\r\n System.out.print(\"int: \");\r\n System.out.println(beginner.intVar);\r\n System.out.print(\"long: \");\r\n System.out.println(beginner.longVar);\r\n System.out.print(\"double: \");\r\n System.out.println(beginner.doubleVar);\r\n System.out.print(\"float: \");\r\n System.out.println(beginner.floatVar);\r\n System.out.print(\"char: \");\r\n System.out.println(beginner.charVar);\r\n System.out.print(\"String: \");\r\n System.out.println(beginner.strVar);\r\n\r\n\r\n }\r\n}
Password
Anyone with the link will still need this password to view.
Expires
1 hour
3 hours
6 hours
12 hours
24 hours
48 hours
72 hours
Sign in to enable "Never expires".
Create paste
Please verify you are human
Cancel