reset password
Author Message
yucheukkit
Posts: 4
Posted 14:21 Jan 31, 2019 |

I read the guideline and requirement for the assignment. However, I am not sure about separating classes into different java files. I notice that we need to have several classes according to the assignment's guideline. In this case, do I split classes into different java files to submit even if it is on the same assignment?

Thanks,

Cheuk Kit Yu 

esantos2
Posts: 5
Posted 14:48 Jan 31, 2019 |

I think because we have to create classes based on two objects from our everyday lives, we should create two different .java files.

kknaur
Posts: 540
Posted 16:39 Jan 31, 2019 |

So for this assignment you are to choose two objects from real life that you would like to model using Object Oriented Programming.  For example I might pick a Cat and a Tree. So in the end, you would turn in 3 .java files, Cat.java Tree.java and Tester.java which would demonstrate that your other two classes are working. 

 

Take a look at the examples from the book and on the course GitHub for some inspiration