• Post Reply Bookmark Topic Watch Topic
  • New Topic

A question on Seats

 
Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a doubt on the class Seats. I do not understand how Seats can be a class? It is a plural and does not make sense to model it as an object. In my opinion Seat can be modelled as an object instead of Seats.

This is something like modelling "Customers" as an object and which does not make sense. What is your opinion?

Thanks,
Srinivas.
 
Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one answer this question?

Thanks in advance,
Srinivas.
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Srinivas,
I agree with you that classes should be singular in a class diagram. However, it is just a name, and there seems to be a lot of 'slack' in what is acceptable for a class diagram. Ray
 
Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Ramon.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!