Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

SingtelAssignment

  1. Now how would you model a rooster? b. How is the rooster related to the chicken? --> usually, i will use is a relationship c. Can you think of other ways to model a rooster without using inheritance?--> i will use has a relationship to avoi inheritance and resuse chicken's function
  2. Can you model a parrot? We are specifically interested in three parrots, one that lived in a house with dogs one in a house with cats, the other lived on a farm next to the rooster. d. How do you keep the parrot maintainable? What if we need another parrot lives near a Duck? Or near a phone that rings frequently? ---> Just need to extend from parrot for new kind of parrot

Code for counting has been implemented in AnimalService class

BONUS:

1 : i use properties file for each language

2: i dont really understand what you mean so i export a microservice has 4 api is counting above

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages