Escolar Documentos
Profissional Documentos
Cultura Documentos
JAVA Programming
Revision Lecture
The exam
The EE2E exam comprises both questions
about Java programming and questions
about (UML) OOD
The paper is in 2 sections answer 2 out
out 4 questions (1 from each section) in 1
and hours
Revision
The following EE2E1 topics have been
covered in lectures
Classes
Inheritance/interfaces
Swing/GUIs
Multi-threading
Network Programming
Classes
Main revision points
The difference between an object and a class
Encapsulation private, public members
Class instance variables and methods (member
functions)
Static and non-static class members
How to refer to a static class member
(through the class name) and a non-static
member (through the object name)
Classes (cont)
Main revision points (cont)
Constructors used for initializing
objects
The this self-reference pointer
Inheritance
Main revision points
Derived class objects inherit base class
attributes and contain their own class specific
attributes
Abstract classes
thrown on
Multi-threading
Main revision points
A Java program can execute in separate threads