Professional Documents
Culture Documents
JAVA Programming: Nguyễn Tuấn Hùng 2013-‐10-‐31
JAVA Programming: Nguyễn Tuấn Hùng 2013-‐10-‐31
Programming
Assignment
03.pdf
Implement
the
methods
of
these
class.
Implement
a
test
class.
attributes.
4. Implement
constructors
(using
setters
inside)
i. Full
constructor.
ii. Default
constructor.
Always
Which
attributes
of
Course
class?
(data
type?
relationship?)
W h a t
i s
m o d i e r
a c c e s s
o f
t h e s e
attributions?
Which
methods
of
Course
class?
5
Which
attributes
of
Section
class?
(data
type?
relationship?)
W h a t
i s
m o d i e r
a c c e s s
o f
t h e s e
attributions?
Which
methods
of
Section
class?
6
one-to-many
Contains
a
list
of
B
(can
use
ArrayList)
0..*
Contains a reference to A
many-to-many relationship
A
Contains
a
list
of
B
(can
use
ArrayList)
*..*
Contains
a
list
of
A
(can
use
ArrayList)
10
11
THANK
YOU
FOR
YOUR
ATTENTION.