Course Notes



Object-Oriented Programming with Embedded Systems

Dr. Derek Molloy
Senior Lecturer
Dublin City University
School of Electronic Engineering

Copyright © 2013- School of Electronic Engineering, DCU, Ireland

Please notify me by e-mail if you spot any errors or omissions. I would also be interested in any feedback you may have about these documents.

Legal Information

This document was written by Dr. Derek Molloy for students in the School Of Electronic Engineering, Dublin City University. You may not pass this document to anybody.


By using this document, you must obey the following conditions: You must be taking this module for personal private study, and will not reuse any of the materials supplied (i.e. course notes, software ..etc.) for any purpose other than personal private study. You are bound by the copyright statement "This Hypermedia document (Object-Oriented Programming with Embedded Systems) and its associated materials are copyrighted © 1999-2013-. All rights reserved. While every reasonable effort is made to ensure the reliability and continuity of this Hypermedia document, this material is supplied for general reference only and should not be relied on without further specific inquiry. SUBSCRIBERS are granted a limited license to make a single copy of documents in this Hypermedia document in print and/or electronic form for personal research or educational use. Course notes may be downloaded, stored on a hard drive or other storage device, or printed in hard copy form, with the following restrictions and exceptions: Systematic or multiple-copy reproduction or republication; electronic re-transmission to another location; print or electronic duplication of any material in this course for a fee or for commercial purposes; or altering or recompiling any contents of the course and its associated materials are not permitted."

By choosing to view, download, or print any portion of this course and its associated materials, you agree to all the provisions of the copyright law protecting it and to the terms and conditions established by the copyright holder.

Document Format Information

The notation in this document is as follows:

  • class is represented as SomeClass, an interface by SomeInterface and and exception by SomeException - All classes, interfaces and exceptions begin with a capital letter and further words in the name are also capitalised. If a class, interface or exception is underlined (hyperlinked) then you can follow the link to the API documentation directly, so for example String will display the Java API documentation for the String class. This is linked to the SUN site, so you will have to remain on-line to use this feature. It will open the pages in a new window (always the same one).

  • An object is represents as someObject - All objects begin with a lower-case letter and further words in the object name are capitalised.

  • method is represented as someMethod() even if it has parameters. All methods begin with a lower-case letter.

  • In general language a literal is given as public, a type as int, and a variable as someInt.

  • command, such as at the DOS prompt is represented as javac Test.java for example.

  • filename is represented as SomeFile.txt.

  • If something is important it is represented like this.



Subpage Listing



These notes are copyright Dr. Derek Molloy, School of Electronic Engineering, Dublin City University, Ireland 2013-present. Please contact him directly before reproducing any of the content in any way.