Finger Exercise
¥
Add a second constructor
¥
Entry(String n)
{ É }
¥
to the
Entry
class where
n
specifies the
name
of the entry.
Use any reasonable
default value,
e.g
., "
unknown"
for the
address
and
phone
fields.
¥
Recompile your program and evaluate the
expression
¥
new Entry("Matthias")