diff --git a/static/quotes/code_java.json b/static/quotes/code_java.json new file mode 100644 index 000000000..b4f6b80dc --- /dev/null +++ b/static/quotes/code_java.json @@ -0,0 +1,47 @@ +{ + "language": "code_java", + "groups": [ + [0, 100], + [101, 300], + [301, 600], + [601, 9999] + ], + "quotes": [ + { + "text": "System.out.println(\"Hello World\");", + "source": "Print Hello World - programming-idioms.org", + "id": 1, + "length": 34 + }, + { + "text": "void finish(String name){\n\tSystem.out.println(\"My job here is done. Goodbye \" + name);\n}", + "source": "Create a procedure - programming-idioms.org", + "id": 2, + "length": 89 + }, + { + "text": "int square(int x){\n\treturn x*x;\n}", + "source": "Create a function which returns the square of an integer - programming-idioms.org", + "id": 3, + "length": 33 + }, + { + "text": "for (int i=0; i