| 1 |
// from http://www.roesler-ac.de/wolfram/hello.htm |
| 2 |
// Hello World in Java |
| 3 |
|
| 4 |
// 2016-12-02: additional code by https://github.com/filippucher1 |
| 5 |
// to test /* within quoted string github issue #140 |
| 6 |
|
| 7 |
@Controller |
| 8 |
@RequestMapping( "/path/*" ) |
| 9 |
public class ControllerClass { |
| 10 |
/** |
| 11 |
* javadoc |
| 12 |
* style |
| 13 |
*/ |
| 14 |
|
| 15 |
/* block comment 1 - on one line */ |
| 16 |
|
| 17 |
/* |
| 18 |
block comment 2 |
| 19 |
*/ |
| 20 |
|
| 21 |
/* |
| 22 |
* block comment 3 |
| 23 |
*/ |
| 24 |
|
| 25 |
import java.io.*; |
| 26 |
class HelloWorld { |
| 27 |
static public void main( String args[] ) { |
| 28 |
System.out.println( "Hello World!" ); |
| 29 |
} |
| 30 |
} |