Exercises CDI
 All Classes Files Functions Pages
HelloWorld.java
Go to the documentation of this file.
1 /*
2  * (c) copyright 2015 Universidade de Vigo. All rights reserved.
3  * formella@uvigo.es, http://formella.webs.uvigo.es
4  */
5 
6 /**
7  \file
8  \brief First exercise
9 
10 */
11 
12 /// \brief Main class to launch application.
13 /// \note We always print a final message before leaving.
14 class HelloWorld {
15  public static void main(
16  String[] args
17  ) {
18  System.out.println("Hello world, called with:");
19  for(String s:args) {
20  System.out.print(s+" ");
21  }
22  System.out.println();
23  System.out.println("exiting...");
24  }
25 }
26 
27 /**
28  \mainpage Exercise Documentation
29 
30  \author Arno Formella
31  \version Exercise 1
32 
33  \section SEC_OBS My observations
34 
35  What have I seen?
36 
37  \section SEC_CON My conclusions
38 
39  I haven't learned anything, did I?
40 
41 */
42 
43 /**
44  \page PAGE_INFO Additional information
45 
46  You can write additional information very conveniently with doxygen
47  directly into the source code files of your application.
48 
49  Please, take a close look to the doxygen documention.
50 
51  There exists the possibility to use markdown formatting within all
52  documentating comment, as here done for simple enumerations:
53 
54  -# some first item
55  -# a second item
56  -# a third one
57  -# and as you see, comparing input and output, the counting is
58  done automatically
59 
60  - and here are no numbers
61  - just simple bullet points
62  - ...
63 
64  \section SEC_INTRO Introduction
65 
66  This is just a sample section so show how to extend the code
67  documentation.
68 
69 */