Hi I wanted to know if there is a way to check whether a particular object has a particular characteristics...... suppose class A { int x; } class B { int y; } I wanted to know if there is a way tht we can check if like B has x(integer) in it or whether A has y(integer) in it..