Objects with the same set of attributes and methods belongs to the same class?

Posted by TiuTalk on Stack Overflow See other posts from Stack Overflow or by TiuTalk
Published on 2010-05-04T13:12:47Z Indexed on 2010/05/04 13:18 UTC
Read the original article Hit count: 130

Filed under:
|
|
|
|

Objects with the same set of attributes and methods belongs to the same class?

Can't I declare two identical classes with the same methods and attributes, instanciate them and have "objects with the same set of attributes and methods that belongs to different class"?

This question is not about good practices... It's about the logical value (true or false) of the question on the title.

© Stack Overflow or respective owner

Related posts about oop

Related posts about hierarchy