diff --git a/static/quotes/code_java.json b/static/quotes/code_java.json index ce6f9db32..6fe78e05a 100644 --- a/static/quotes/code_java.json +++ b/static/quotes/code_java.json @@ -12,6 +12,36 @@ "source": "W3Schools - Java Getting Started", "id": 1, "length": 87 + }, + { + "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