Ask coding questions

← Back to all posts
putting a class in a class file.
RebeccaHammack (0)

I have an assignment where I have to name the file the same name as the class. I can't use '' . How can this be done in

ash15khng (393)

Let's say the class is named Cat or something.
To create your file, you would need to go to the side bar on the left and click the add file icon. Then name it Not sure how to run the code in there tho.

vedprad1 (732)
  1. Go to the right side bar.
  2. Click on the first icon.
  3. Go to the add file sign on the top.
  4. Create a new file.

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!