as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
design a coding exercise that tests basic understanding of object-oriented programming.
user
design a class called dog that has the following instance variables: name, breed, and age. the class should also have a constructor that takes these three parameters and assigns the corresponding instance variables. write a method called bark() that prints the string “woof!” finally, write a main() method that creates a dog object and calls its bark() method.
assistant