diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java')
-rw-r--r-- | Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java new file mode 100644 index 00000000000..89ae40ab579 --- /dev/null +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java @@ -0,0 +1,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 |