What would be an example of a variable declaration using Dog June 21, 2017 mfadmin Java Programming Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review. What would be an example of a variable declaration using Dog Dog myDog;