Professional Documents
Culture Documents
Tutorial 18-01-2013 Exercises
Tutorial 18-01-2013 Exercises
Tutorial 18-01-2013 Exercises
1. Create
a
method
equal
that
accepts
2
List
objects
as
arguments
and
checks
to
see
if
the
2
List
objects
contain
the
same
elements;
i.e.
they
are
equal.
The
method
should
return
true
if
they
are
equal
or
false
if
they
contain
different
elements.
The
method
signature
should
be: