when an interviewer ask me what are the things he/she can found inside a javabean...what should i say...all i know is that javabean is used to declare variables that can be used by any pages inside a specific package..
I feel you should explain him how java bean is nothing but a simple java class and it can have anything a java class can have (with some rules and regulations like setter and getter methods..etc)