|
|
Line 8: |
Line 8: |
| } | | } |
| </pre> | | </pre> |
− | <syntaxhighlight lang="java">public class SyntaxHightingExtension | + | <source lang="java">public class SyntaxHightingExtension |
| { | | { |
| public static void main ( String [] args ) | | public static void main ( String [] args ) |
Line 15: |
Line 15: |
| } | | } |
| } | | } |
− | </syntaxhighlight> | + | </source> |
| </spoiler> | | </spoiler> |
Revision as of 17:02, 5 April 2010
Solution Code
public class NotSyntaxHightingExtension
{
public static void main ( String [] args )
{
System.out.println ( "This is done with <pre> tags, not with <syntaxhighlight> tags" );
}
}
public class SyntaxHightingExtension
{
public static void main ( String [] args )
{
System.out.println ( "This is done with <syntaxhighlight> tags" );
}
}