lConstructor
method
Special method with the same name as the class
that is used with new when a class is
instantiated
l public Name(String frst, String lst)
l {
l first = frst;
l last = lst;
l }
l Name name;
l name = new Name(“John”, “Dewey”);
l Note:
argument cannot be the same as field