Why are the do the methods begin with public Dog rather than public void?