This content has been marked as final. Show 3 replies
Thanks for your response.
I think I have done all I can do as far as what you pointed out. This is a class assignment so I am working with code and instructions I have been given.
The teacher said the constructor throws Exception. Here is the UML she provided for the constructor of the class she had us write.
And, this is simple test code :)
+Cabin(in cabinNumber: int, in rooms: int, in kitchen: boolean) throws Exception