Any time I see articles about Law of Demeter the author never seems to give a solid example of how to obey this law. They all explain what it is and show an example of breaking
I'd have a Band answer the question who's playing this instrument?
public String whoIsPlaying(String instrument);
Then if you need a guitarist's name you'd say:
band.whoIsPlaying("guitar");
Nothing stops you from pinging other instruments as well.