From d5ec040973f816b9bc5c7d99df1e25918e51dbdd Mon Sep 17 00:00:00 2001 From: mtthwn Date: Mon, 10 May 2021 18:08:38 -0400 Subject: [PATCH] adding initial list of java quotes --- static/quotes/code_java.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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