summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_e.java
blob: 89ae40ab5795eb3b4a705e6cdb4ac0a41203d52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// ce: combine
/**
 * HelloWorld.java
// be: the class
public class HelloWorld
{
// ee: the class
    // be: specific constructor
    public HelloWorld()
    {
        System.out.println("Object HelloWorld created");
    } // end of specific constructor "HelloWorld()"
    // ee: specific constructor

    // be: main method
    public static final void main(final String[] args)
    {
        HelloWorld h = new HelloWorld();
    } // end of method "main(String[] args)"
    // ee: main method
// be: the class
} // end of class "HelloWorld"
// ee: the class