Pārlūkot izejas kodu

Add default introductory code example

Instead of having logic for a fallback in the backend, we're choosing a
default for the snippet file.

For tracks that have core exercises, we pick the first core exercise.
For tracks without these, we pick the first exercise listed in the config.
Katrina Owen 9 gadus atpakaļ
vecāks
revīzija
b57785d009
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7
    0
      docs/SNIPPET.txt

+ 7
- 0
docs/SNIPPET.txt Parādīt failu

@@ -0,0 +1,7 @@
1
+class Greeter {
2
+
3
+    String getGreeting() {
4
+        return "Hello, World!";
5
+    }
6
+
7
+}