Hello Sam !
It is easy task.
First, you entered to ChatGPT page, and enter the following message as,
"Show me an example of Mathematica Object Oriented Program code."
ChatGPT will reply like following result.
"Here is an example of an object-oriented program in Mathematica that defines a simple class called "Circle" with a single method called "area". This method calculates ..."
Have fun