InterviewSolution
Saved Bookmarks
| 1. |
To define a ________ in a JavaBean class, public getter and setter methods have to be supplied.(a) Class(b) Object(c) Value(d) PropertyI had been asked this question in homework.This is a very interesting question from Need for Unit Tests in division Software Testing Principles of JUnit |
|
Answer» RIGHT answer is (d) Property The best I can explain: Public SETTER and getter METHODS are REQUIRED for Properties to be defined in JAVABEANS classes. |
|