Zum Inhalt

solutioncode

Typ

Struktur-Element

Zulässige Kind-Elemente:

keine

Unterstütze Attribute

keine

weitere Informationen zur Syntax

Beschreibung

Ein solutioncode-Element legt einen Lösungsvorschlag für ein sourcefile-Element eines sourcecode-Eingabefeldes fest.

Code-Beispiele

Code-Beispiel
<sourcecode lang="java">
    <sourcefile>
        <solutioncode>public class Main {
    public static void main(String[] args){
        System.out.println("Hello world!");
    }
}</solutioncode>
    </sourcefile>
</sourcecode>