Skip to content

LuisBarrazaHdz/homeworkjava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homework java

Week 3

Tasks

  1. Constructors
    • a. Create appropriate Constructors for the class(es) you have created for the Adoption - application. Try and initialize your objects in only one place in the code.
    • b. Make sure your objects are always properly initialized, no matter which constructor is called. All variables that should not be null should have an appropriate value.
    • c. Write Unit tests for all your constructors. Aim for 100% coverage on the constructors.
  2. Change your application class to use the Constructors to create a List of 2 Adopters and print them out using a toString method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages