Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
16 views

Module Summary

The document provides an overview of object-oriented programming concepts including objects, classes, inheritance, polymorphism, abstraction, encapsulation and modularity. It also covers topics like UML modeling, exceptions, file input/output and preparing for an exam on these object-oriented concepts in Java.

Uploaded by

sheen gay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Module Summary

The document provides an overview of object-oriented programming concepts including objects, classes, inheritance, polymorphism, abstraction, encapsulation and modularity. It also covers topics like UML modeling, exceptions, file input/output and preparing for an exam on these object-oriented concepts in Java.

Uploaded by

sheen gay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Module Summary

- Introduction to object technology


- Principles of visual modelling: aims of modelling, importance of modelling and model driven
architecture (MDA)
- Concepts of object orientation I: object and class (states and operations), relationship
between objects and classes, package for organising design elements
o Java class
o Constructor methods
o Instance variables/ methods
o super vs this keyword in Java
o static vs non-static members
- Concepts of object orientation II:
o Abstraction – to distinguish characteristics among entities
o Encapsulation – to wrap object data and operations together as a single unit
 Private/ protected visibility
o Modularity – to break-up complex problem into manageable unit
o Hierarchy – to identify the general objects and specialised objects
 Generalisation – single inheritance and multiple inheritance
- UML Use case modelling
o Use case diagramming
o UML notations for the use case diagram
- UML Class diagram
o Class diagramming
o UML notations for the class diagram
o Class relationships: association, aggregation/ composition, inheritance, realisation,
dependency and etc
o Transform UML class diagram into Java code
- Inheritance and Polymorphism with code samples
o Single inheritance
o Multiple inheritance
o Multi-level inheritance
o Inheriting methods and overriding methods
- Abstraction and Polymorphism
o Abstract classes and methods
o Concrete class
o Interface in Java
o Interfaces vs abstract classes
- Graphical User Interface (GUI)
o AWI & Swing package
o Swing components
o Window (JFrame) or container and input components
o Handling events
- Exception handling
o Exception class hierarchy
o Exception handler
o Handling exception with trycatch, trycatch-finally
o throws vs throw keyword in Java
o custom exception class
- File Input/ Output (IO)
o File types: text file and binary file
o Text IO - Reader/ Writer
o Binary IO – InputStream/ OutputStream
o IO Exception classes
o Handling IO exception
Exam information
- Section A: 20 MCQs (20 marks)
- Section B: 2 questions (25 marks)

Preparation to be able to:


- Coding in Java (object oriented programming)
- Coding in Java basic covering variable declaration and initialization, control structures,
expression evaluation, logical/arithmetic/(in/de)crement operators, ternary operator (?:),
java keywords (extends, this, super, static, private, protected, public), array and etc
- Trace output

You might also like