college/Summer-2024/CS-3443/Slides/txt/13_Design-Practice.txt

60 lines
928 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Application
Programming
Hend Alkittawi
Design Workshop
How to approach an app design!
INTRODUCTION
Think about the
classes you need to
create for a Payroll
System application!
*Reference Document
IMPORTANT
At the design stage in an
object oriented system you
will often find that certain
classes are closely related.
You should factor out common
instance variables and
methods and place them in a
superclass, then use
inheritance to develop
subclasses, specializing them
with capabilities beyond
those inherited from the
superclass.
DEMO
-
UML diagram for the Payroll System in Chapter 10
Eclipse Hint!
- To automatically generate getters
and setters, right-click in the
code editor > Source > Generate
getters and setters.
- This functionality is to save
expert developers some time. Use
it when you are at that level!
DO YOU HAVE ANY
QUESTIONS?
THANK
YOU!
@
hend.alkittawi@utsa.edu
By Appointment
Online