SHARE
TWEET

Untitled

a guest Aug 17th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class PetService {
  2.   private final PetDao dao;
  3.  
  4.   public int numberOfPets() {
  5.     return dao.getNumberOfPets();
  6.   }
  7.  
  8.   public void setPetDao(PetDao dao) {
  9.     this.dao = dao;
  10.   }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top